summaryrefslogtreecommitdiff
path: root/redis
diff options
context:
space:
mode:
authorJyrki Muukkonen <jyrki.muukkonen@ouraring.com>2018-11-15 17:35:11 +0200
committerJyrki Muukkonen <jyrki.muukkonen@ouraring.com>2018-11-15 17:35:11 +0200
commitb040bcfb515f6fc87e2acc827e106cda7596c166 (patch)
tree5dd6dc5974727885c529d1edf7a4e51a754a8909 /redis
parent9b03af26dc829beea232a3248768de933f4c3b67 (diff)
downloadredis-py-b040bcfb515f6fc87e2acc827e106cda7596c166.tar.gz
Add missing UnixDomainSocketConnection._buffer_cutoff
Without this using `unix_socket_path` will fail: AttributeError: 'UnixDomainSocketConnection' object has no attribute '_buffer_cutoff' Fixes #1067
Diffstat (limited to 'redis')
-rwxr-xr-xredis/connection.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/redis/connection.py b/redis/connection.py
index b38f24c..9b949c5 100755
--- a/redis/connection.py
+++ b/redis/connection.py
@@ -759,6 +759,7 @@ class UnixDomainSocketConnection(Connection):
'db': self.db,
}
self._connect_callbacks = []
+ self._buffer_cutoff = 6000
def _connect(self):
"Create a Unix domain socket connection"