Skip to content

Commit 3e8e85c

Browse files
committed
Remove connection from pool before waiting for results
1 parent 3e31475 commit 3e8e85c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/aio/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ async def connection_ready(self, ready_timeout=10):
227227

228228
await asyncio.wait_for(self._channel.channel_ready(), timeout=ready_timeout)
229229

230-
async def close(self, grace: float = None):
230+
async def close(self, grace: float = 30):
231231
"""
232232
Closes the underlying gRPC channel
233233
:param: grace: If a grace period is specified, this method wait until all active

0 commit comments

Comments
 (0)