Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/redis-py
/ NoBackoff
Class
NoBackoff
redis/backoff.py:47–51 ·
view source on GitHub ↗
No backoff upon failure
Source
from the content-addressed store, hash-verified
45
46
47
class
NoBackoff(ConstantBackoff):
48
""
"No backoff upon failure"
""
49
50
def
__init__(self) -> None:
51
super().__init__(0)
52
53
54
class
ExponentialBackoff(AbstractBackoff):
Callers
15
test_retry_connect_on_timeout_error
Method · 0.90
test_connect_without_retry_on_non_retryable_error
Method · 0.90
test_connect_with_retries
Method · 0.90
test_retry_transaction_on_connection_error
Method · 0.90
test_retry_transaction_on_connection_error_with_watched_keys
Method · 0.90
test_retry_on_timeout_retry
Method · 0.90
test_retry_on_error_retry
Method · 0.90
test_client_retry_on_error_raise
Method · 0.90
test_client_retry_on_error_different_error_raised
Method · 0.90
test_client_retry_on_error_and_timeout
Method · 0.90
test_client_retry_on_timeout
Method · 0.90
test_get_set_retry_object_for_cluster_client
Method · 0.90
Calls
no outgoing calls
Tested by
15
test_retry_connect_on_timeout_error
Method · 0.72
test_connect_without_retry_on_non_retryable_error
Method · 0.72
test_connect_with_retries
Method · 0.72
test_retry_transaction_on_connection_error
Method · 0.72
test_retry_transaction_on_connection_error_with_watched_keys
Method · 0.72
test_retry_on_timeout_retry
Method · 0.72
test_retry_on_error_retry
Method · 0.72
test_client_retry_on_error_raise
Method · 0.72
test_client_retry_on_error_different_error_raised
Method · 0.72
test_client_retry_on_error_and_timeout
Method · 0.72
test_client_retry_on_timeout
Method · 0.72
test_get_set_retry_object_for_cluster_client
Method · 0.72