mirror of https://github.com/m-labs/artiq.git
sync_struct: replace ConnectionError subclasses with ConnectionError (#1318)
This commit is contained in:
parent
30fe624fe5
commit
bbcd1db025
|
@ -312,8 +312,7 @@ class Publisher(AsyncioServer):
|
|||
await writer.drain()
|
||||
finally:
|
||||
self._recipients[notifier_name].remove(queue)
|
||||
except (ConnectionResetError, ConnectionAbortedError, BrokenPipeError,
|
||||
TimeoutError):
|
||||
except (ConnectionError, TimeoutError):
|
||||
# subscribers disconnecting are a normal occurrence
|
||||
pass
|
||||
finally:
|
||||
|
|
Loading…
Reference in New Issue