Skip to content

Commit 8c8a529

Browse files
authored
Fix async sentinel (#2922)
1 parent 53be0b6 commit 8c8a529

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

redis/asyncio/sentinel.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,14 @@ async def read_response(
6969
timeout: Optional[float] = None,
7070
*,
7171
disconnect_on_error: Optional[float] = True,
72+
push_request: Optional[bool] = False,
7273
):
7374
try:
7475
return await super().read_response(
7576
disable_decoding=disable_decoding,
7677
timeout=timeout,
7778
disconnect_on_error=disconnect_on_error,
79+
push_request=push_request,
7880
)
7981
except ReadOnlyError:
8082
if self.connection_pool.is_master:

0 commit comments

Comments
 (0)