mirror of https://github.com/m-labs/artiq.git
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()
|
||||
finally:
|
||||
self._recipients[notifier_name].remove(queue)
|
||||
except (ConnectionResetError, ConnectionAbortedError, BrokenPipeError):
|
||||
except (ConnectionResetError, ConnectionAbortedError, BrokenPipeError, TimeoutError):
|
||||
# subscribers disconnecting are a normal occurrence
|
||||
pass
|
||||
finally:
|
||||
|
|
Loading…
Reference in New Issue