Skip to content

fix: throw when driver crashes #1798

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 6, 2023
Merged

fix: throw when driver crashes #1798

merged 2 commits into from
Mar 6, 2023

Conversation

mxschmitt
Copy link
Member

@mxschmitt mxschmitt commented Mar 6, 2023

Before that the transport used to hang when the process died.

Fixes #1779

@@ -154,6 +154,10 @@ async def run(self) -> None:
obj = self.deserialize_message(buffer)
self.on_message(obj)
except asyncio.IncompleteReadError:
if not self._stopped:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we get this in the normal mode of the operation?

@mxschmitt mxschmitt merged commit 3244581 into main Mar 6, 2023
@mxschmitt mxschmitt deleted the driver-crash branch March 6, 2023 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] hang when node is crash or killed
2 participants