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 5ee081d commit 55c6713Copy full SHA for 55c6713
redis/asyncio/connection.py
@@ -1356,7 +1356,7 @@ class BlockingConnectionPool(ConnectionPool):
1356
def __init__(
1357
self,
1358
max_connections: int = 50,
1359
- timeout: Optional[int] = 20,
+ timeout: Optional[float] = 20,
1360
connection_class: Type[AbstractConnection] = Connection,
1361
queue_class: Type[asyncio.Queue] = asyncio.LifoQueue, # deprecated
1362
**connection_kwargs,
0 commit comments