forked from M-Labs/artiq
sync_struct: handle TimeoutError as subscriber disconnection. Closes #1215
This commit is contained in:
parent
b1ea02ddf0
commit
371dda4a16
|
@ -244,7 +244,7 @@ class Publisher(AsyncioServer):
|
||||||
await writer.drain()
|
await writer.drain()
|
||||||
finally:
|
finally:
|
||||||
self._recipients[notifier_name].remove(queue)
|
self._recipients[notifier_name].remove(queue)
|
||||||
except (ConnectionResetError, ConnectionAbortedError, BrokenPipeError):
|
except (ConnectionResetError, ConnectionAbortedError, BrokenPipeError, TimeoutError):
|
||||||
# subscribers disconnecting are a normal occurrence
|
# subscribers disconnecting are a normal occurrence
|
||||||
pass
|
pass
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Reference in New Issue