diff options
author | Kristján Valur Jónsson <sweskman@gmail.com> | 2023-05-08 10:11:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-08 13:11:43 +0300 |
commit | c0833f60a1d9ec85c589004aba6b6739e6298248 (patch) | |
tree | 9fbe069b992e8a2ff301ebce4722d22c9e5d8e80 /redis/client.py | |
parent | 093232d8b4cecaac5d8b15c908bd0f8f73927238 (diff) | |
download | redis-py-c0833f60a1d9ec85c589004aba6b6739e6298248.tar.gz |
Optionally disable disconnects in read_response (#2695)
* Add regression tests and fixes for issue #1128
* Fix tests for resumable read_response to use "disconnect_on_error"
* undo prevision fix attempts in async client and cluster
* re-enable cluster test
* Suggestions from code review
* Add CHANGES
Diffstat (limited to 'redis/client.py')
-rwxr-xr-x | redis/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/client.py b/redis/client.py index c43a388..65d0cec 100755 --- a/redis/client.py +++ b/redis/client.py @@ -1533,7 +1533,7 @@ class PubSub: return None else: conn.connect() - return conn.read_response() + return conn.read_response(disconnect_on_error=False) response = self._execute(conn, try_read) |