diff options
Diffstat (limited to 'redis/connection.py')
| -rwxr-xr-x | redis/connection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/connection.py b/redis/connection.py index 0e6fa37..ad69bf0 100755 --- a/redis/connection.py +++ b/redis/connection.py @@ -1141,7 +1141,7 @@ class ConnectionPool(object): timeout_at = time() + 5 acquired = False while time() < timeout_at: - acquired = self._fork_lock.acquire() + acquired = self._fork_lock.acquire(blocking=False) if acquired: break if not acquired: |
