summaryrefslogtreecommitdiff
path: root/kombu/transport/redis.py
diff options
context:
space:
mode:
authorAsk Solem <ask@celeryproject.org>2013-11-21 18:16:24 +0000
committerAsk Solem <ask@celeryproject.org>2013-11-21 18:16:24 +0000
commit8a542d71c8a973f9b3a41b02ffec48a0f79a6de5 (patch)
tree383dffe97f51e6d3a774e40ff2fb85aeb73ba4b8 /kombu/transport/redis.py
parent129d389a254fd1d9d4651d3b3fa20dea0f908505 (diff)
downloadkombu-8a542d71c8a973f9b3a41b02ffec48a0f79a6de5.tar.gz
Redis: Add socket.error to list of connection errors
Diffstat (limited to 'kombu/transport/redis.py')
-rw-r--r--kombu/transport/redis.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kombu/transport/redis.py b/kombu/transport/redis.py
index 9a670b27..82ff3c4e 100644
--- a/kombu/transport/redis.py
+++ b/kombu/transport/redis.py
@@ -832,7 +832,7 @@ class Transport(virtual.Transport):
return (
(virtual.Transport.connection_errors + (
InconsistencyError,
- socket.timeout,
+ socket.error,
exceptions.ConnectionError,
exceptions.AuthenticationError)),
(virtual.Transport.channel_errors + (