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 819afc3 commit fbae0bcCopy full SHA for fbae0bc
redis/asyncio/client.py
@@ -206,9 +206,8 @@ def __init__(
206
"""
207
kwargs: Dict[str, Any]
208
# auto_close_connection_pool only has an effect if connection_pool is
209
- # None. This is a similar feature to the missing __del__ to resolve #1103,
210
- # but it accounts for whether a user wants to manually close the connection
211
- # pool, as a similar feature to ConnectionPool's __del__.
+ # None. It is assumed that if connection_pool is not None, the user
+ # wants to manage the connection pool themselves.
212
self.auto_close_connection_pool = (
213
auto_close_connection_pool if connection_pool is None else False
214
)
0 commit comments