File tree 2 files changed +8
-2
lines changed 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
- * Fix #2831, closing connections and sockets when garbage collected.
1
+ * Fix #2831, add auto_close_connection_pool=True arg to asyncio.Redis.from_url()
2
2
* Fix incorrect redis.asyncio.Cluster type hint for `retry_on_error`
3
3
* Fix dead weakref in sentinel connection causing ReferenceError (#2767)
4
4
* Fix #2768, Fix KeyError: 'first-entry' in parse_xinfo_stream.
Original file line number Diff line number Diff line change @@ -104,7 +104,13 @@ class Redis(
104
104
response_callbacks : MutableMapping [Union [str , bytes ], ResponseCallbackT ]
105
105
106
106
@classmethod
107
- def from_url (cls , url : str , ** kwargs ):
107
+ def from_url (
108
+ cls ,
109
+ url : str ,
110
+ single_connection_client : bool = False ,
111
+ auto_close_connection_pool : bool = True ,
112
+ ** kwargs ,
113
+ ):
108
114
"""
109
115
Return a Redis client object configured from the given URL
110
116
You can’t perform that action at this time.
0 commit comments