mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
protocols/sync_struct: disconnection can also cause BrokenPipeError
This commit is contained in:
parent
da70f8b88c
commit
71d2e3a69f
@ -236,7 +236,7 @@ class Publisher(AsyncioServer):
|
||||
await writer.drain()
|
||||
finally:
|
||||
self._recipients[notifier_name].remove(queue)
|
||||
except ConnectionResetError:
|
||||
except (ConnectionResetError, BrokenPipeError):
|
||||
# subscribers disconnecting are a normal occurence
|
||||
pass
|
||||
finally:
|
||||
|
Loading…
Reference in New Issue
Block a user