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 05518ca commit ed348a1Copy full SHA for ed348a1
redis/asyncio/client.py
@@ -214,9 +214,8 @@ def __init__(
214
"""
215
kwargs: Dict[str, Any]
216
# auto_close_connection_pool only has an effect if connection_pool is
217
- # None. This is a similar feature to the missing __del__ to resolve #1103,
218
- # but it accounts for whether a user wants to manually close the connection
219
- # 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.
220
self.auto_close_connection_pool = (
221
auto_close_connection_pool if connection_pool is None else False
222
)
0 commit comments