We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3651506 commit 0951770Copy full SHA for 0951770
redis/asyncio/sentinel.py
@@ -67,11 +67,14 @@ async def read_response(
67
self,
68
disable_decoding: bool = False,
69
timeout: Optional[float] = None,
70
+ *,
71
+ disconnect_on_error: Optional[float] = True,
72
):
73
try:
74
return await super().read_response(
75
disable_decoding=disable_decoding,
76
timeout=timeout,
77
+ disconnect_on_error=disconnect_on_error,
78
)
79
except ReadOnlyError:
80
if self.connection_pool.is_master:
0 commit comments