Skip to content

Commit 4856813

Browse files
authored
UnixDomainSocketConnection missing constructor argument (#2630)
1 parent 4802530 commit 4856813

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

redis/connection.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1155,8 +1155,9 @@ def _connect(self):
11551155
class UnixDomainSocketConnection(AbstractConnection):
11561156
"Manages UDS communication to and from a Redis server"
11571157

1158-
def __init__(self, path="", **kwargs):
1158+
def __init__(self, path="", socket_timeout=None, **kwargs):
11591159
self.path = path
1160+
self.socket_timeout = socket_timeout
11601161
super().__init__(**kwargs)
11611162

11621163
def repr_pieces(self):

0 commit comments

Comments
 (0)