summaryrefslogtreecommitdiff
path: root/redis/connection.py
diff options
context:
space:
mode:
authorAvital Fine <79420960+AvitalFineRedis@users.noreply.github.com>2021-12-15 16:03:45 +0100
committerGitHub <noreply@github.com>2021-12-15 17:03:45 +0200
commit82bad1686177c4c543818a8bfac35c6fdfc9ddf1 (patch)
treeda1ecf4e6e21326f5019e7fc609acbb38c5ba2de /redis/connection.py
parent6c1e215bc8803a4cf72e07d15dedaa51c81d0ff2 (diff)
downloadredis-py-82bad1686177c4c543818a8bfac35c6fdfc9ddf1.tar.gz
Support SYNC and PSYNC (#1741)
Co-authored-by: Chayim <chayim@users.noreply.github.com>
Diffstat (limited to 'redis/connection.py')
-rwxr-xr-xredis/connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/connection.py b/redis/connection.py
index 4ba58fe..6c4494b 100755
--- a/redis/connection.py
+++ b/redis/connection.py
@@ -382,7 +382,7 @@ class HiredisParser(BaseParser):
except Exception:
pass
- def on_connect(self, connection):
+ def on_connect(self, connection, **kwargs):
self._sock = connection._sock
self._socket_timeout = connection.socket_timeout
kwargs = {