summaryrefslogtreecommitdiff
path: root/redis/asyncio/sentinel.py
Commit message (Collapse)AuthorAgeFilesLines
* Kristjan/issue #2754: Add missing argument to ↵Kristján Valur Jónsson2023-05-101-0/+3
| | | | | | | | | | | | SentinelManagedConnection.read_response() (#2756) * Increase timeout for a test which would hang completely if failing. Timeouts in virtualized CI backends can occasionally fail if too short. * add "disconnect_on_error" argument to SentinelManagedConnection * update Changes * lint
* Improve error output for master discovery (#2720)Marc Schöchlin2023-04-271-2/+8
| | | | | | | Make MasterNotFoundError exception more precise in the case of ConnectionError and TimeoutError to help the user to identify configuration errors Co-authored-by: Marc Schöchlin <marc.schoechlin@flipapp.de>
* Fix incorrect usage of once flag in async Sentinel (#2718)Felipe Machado2023-04-271-2/+2
| | | | | | | In the execute_command of the async Sentinel, the once flag was being used incorrectly, with its meaning inverted. To fix we just needed to invert the if and else bodies. This isn't being caught by the tests currently because the tests of commands that use this flag do not check their results/effects (for example the "test_ckquorum" test).
* Add `timeout` parameter for SentinelManagedConnection (#2495)Guillaume Tassery2022-12-251-3/+10
|
* Use retry mechanism in async version of Connection objects (#2271)szumka2022-07-211-1/+7
|
* Add Async Support (#1899)Andrew Chen Wang2022-02-221-0/+353
Co-authored-by: Chayim I. Kirshen <c@kirshen.com> Co-authored-by: dvora-h <dvora.heller@redis.com>