mirror of https://github.com/m-labs/artiq.git
sync_struct: handle TimeoutError as subscriber disconnection. Closes #1215
This commit is contained in:
parent
c09ab8502c
commit
38ce7ab8ff
|
@ -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