Skip to content

Commit

Permalink
Handle a connection reset on msgspec transport
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Apr 12, 2022
1 parent b34fadd commit 8c054a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tractor/_ipc.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ async def _iter_packets(self) -> AsyncGenerator[dict, None]:

except (
ValueError,
ConnectionResetError,

# not sure entirely why we need this but without it we
# seem to be getting racy failures here on
Expand Down

0 comments on commit 8c054a0

Please sign in to comment.