summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--redis/connection.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/redis/connection.py b/redis/connection.py
index faea768..162a4c3 100644
--- a/redis/connection.py
+++ b/redis/connection.py
@@ -1155,8 +1155,9 @@ class SSLConnection(Connection):
class UnixDomainSocketConnection(AbstractConnection):
"Manages UDS communication to and from a Redis server"
- def __init__(self, path="", **kwargs):
+ def __init__(self, path="", socket_timeout=None, **kwargs):
self.path = path
+ self.socket_timeout = socket_timeout
super().__init__(**kwargs)
def repr_pieces(self):