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 5391c5f commit 1077c00Copy full SHA for 1077c00
CHANGES
@@ -55,6 +55,7 @@
55
* Fix for Unhandled exception related to self.host with unix socket (#2496)
56
* Improve error output for master discovery
57
* Make `ClusterCommandsProtocol` an actual Protocol
58
+ * Fix ConnectionPool deadlock triggered by gc
59
60
* 4.1.3 (Feb 8, 2022)
61
* Fix flushdb and flushall (#1926)
redis/connection.py
@@ -1008,7 +1008,7 @@ def __repr__(self) -> (str, str):
1008
)
1009
1010
def reset(self) -> None:
1011
- self._lock = threading.Lock()
+ self._lock = threading.RLock()
1012
self._created_connections = 0
1013
self._available_connections = []
1014
self._in_use_connections = set()
0 commit comments