File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1109,15 +1109,15 @@ def set_retry(self, retry: "Retry") -> None:
1109
1109
1110
1110
class BlockingConnectionPool (ConnectionPool ):
1111
1111
"""
1112
- Thread-safe blocking connection pool::
1112
+ A blocking connection pool::
1113
1113
1114
1114
>>> from redis.client import Redis
1115
1115
>>> client = Redis(connection_pool=BlockingConnectionPool())
1116
1116
1117
1117
It performs the same function as the default
1118
1118
:py:class:`~redis.ConnectionPool` implementation, in that,
1119
1119
it maintains a pool of reusable connections that can be shared by
1120
- multiple redis clients (safely across threads if required) .
1120
+ multiple async redis clients.
1121
1121
1122
1122
The difference is that, in the event that a client tries to get a
1123
1123
connection from the pool when all of connections are in use, rather than
@@ -1160,7 +1160,7 @@ def __init__(
1160
1160
)
1161
1161
1162
1162
def reset (self ):
1163
- # Create and fill up a thread safe queue with ``None`` values.
1163
+ # Create and fill up a queue with ``None`` values.
1164
1164
self .pool = self .queue_class (self .max_connections )
1165
1165
while True :
1166
1166
try :
You can’t perform that action at this time.
0 commit comments