We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3873dfd commit abdbb29Copy full SHA for abdbb29
neo4j/_async/io/_common.py
@@ -139,7 +139,9 @@ async def flush(self):
139
if data:
140
try:
141
await self.socket.sendall(data)
142
- except (OSError, asyncio.CancelledError) as error:
+ except (
143
+ OSError, SocketDeadlineExceeded, asyncio.CancelledError
144
+ ) as error:
145
await AsyncUtil.callback(self.on_error, error)
146
return False
147
self._clear()
neo4j/_sync/io/_common.py
@@ -139,7 +139,9 @@ def flush(self):
self.socket.sendall(data)
Util.callback(self.on_error, error)
0 commit comments