Skip to content

Commit

Permalink
UnixDomainSocketConnection missing constructor argument (#2630)
Browse files Browse the repository at this point in the history
  • Loading branch information
woutdenolf authored Mar 27, 2023
1 parent 4802530 commit 4856813
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion redis/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 4856813

Please sign in to comment.