Skip to content

Commit 8daa531

Browse files
authored
Added LagAwareHealthCheck for MultiDBClient (#3737)
* Added LagAwareHealthcheck * Added testing for LagAwareHealthCheck * Fixed timeouts * Added lag tollerance parameter * Decreased messages_count due to increased timeouts * Added docblocks * Added missing type hints * Fixed url * Refactored tests, URL and cluster support * Use primary node to send an API request * Added comment about RE bug * Moved None type to the beginning * Added health_check_url property to Database class
1 parent 68fe530 commit 8daa531

File tree

17 files changed

+1130
-34
lines changed

17 files changed

+1130
-34
lines changed

redis/cluster.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,7 @@ def __init__(
691691
self._event_dispatcher = EventDispatcher()
692692
else:
693693
self._event_dispatcher = event_dispatcher
694+
self.startup_nodes = startup_nodes
694695
self.nodes_manager = NodesManager(
695696
startup_nodes=startup_nodes,
696697
from_url=from_url,

redis/http/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)