summaryrefslogtreecommitdiff
path: root/redis/exceptions.py
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2020-01-30 15:05:12 -0800
committerGitHub <noreply@github.com>2020-01-30 15:05:12 -0800
commit4287963d1e51e0bd9b1b78d78981d67e2c0213db (patch)
tree1ff6263847763d71554d6e68e2d466995689b177 /redis/exceptions.py
parent09a17eaca6b0972a6446e3132e8024099d271f24 (diff)
downloadredis-py-4287963d1e51e0bd9b1b78d78981d67e2c0213db.tar.gz
better thread-safety for ConnectionPool (#1270)
Better thread and fork safety for ConnectionPool and BlockingConnectionPool
Diffstat (limited to 'redis/exceptions.py')
-rw-r--r--redis/exceptions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/redis/exceptions.py b/redis/exceptions.py
index 9a1852a..6f47024 100644
--- a/redis/exceptions.py
+++ b/redis/exceptions.py
@@ -67,3 +67,8 @@ class LockError(RedisError, ValueError):
class LockNotOwnedError(LockError):
"Error trying to extend or release a lock that is (no longer) owned"
pass
+
+
+class ChildDeadlockedError(Exception):
+ "Error indicating that a child process is deadlocked after a fork()"
+ pass