diff --git a/redis/connection.py b/redis/connection.py index faea7683f7..162a4c3215 100644 --- a/redis/connection.py +++ b/redis/connection.py @@ -1155,8 +1155,9 @@ def _connect(self): 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):