Skip to content

Commit 87a1ffa

Browse files
committed
Removed unused lock
1 parent 1776679 commit 87a1ffa

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

redis/asyncio/connection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,6 @@ def __init__(
10451045
self._available_connections: List[AbstractConnection] = []
10461046
self._in_use_connections: Set[AbstractConnection] = set()
10471047
self.encoder_class = self.connection_kwargs.get("encoder_class", Encoder)
1048-
self._lock = threading.Lock()
10491048

10501049
def __repr__(self):
10511050
return (

0 commit comments

Comments
 (0)