From 4856813169f84faa871557dc4e1a98958f5fca6d Mon Sep 17 00:00:00 2001 From: woutdenolf Date: Mon, 27 Mar 2023 23:40:46 +0200 Subject: UnixDomainSocketConnection missing constructor argument (#2630) --- redis/connection.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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): -- cgit v1.2.1