summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2020-01-27 17:21:18 -0800
committerAndy McCurdy <andy@andymccurdy.com>2020-01-30 14:29:59 -0800
commitb5436ce158c75bed844ca75afbfd30441eacd82b (patch)
treebec212ea97d75aaaf8c109a7169d93dc10383479
parent597e8e58cbc10e29179d1578dd8caa1256202d18 (diff)
downloadredis-py-b5436ce158c75bed844ca75afbfd30441eacd82b.tar.gz
forgot blocking=False arg
-rwxr-xr-xredis/connection.py2
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: