Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 44106de

Browse files
added a circuit breaker error manager for redis cache.
1 parent 62bc491 commit 44106de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/cache/custom.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919

2020

2121
class RedisErrorManager:
22+
"""
23+
Custom Circuit Breaker Error manager for redis cache management
24+
"""
2225
def __init__(self, use_redis: bool = True):
2326
self.use_redis: bool = use_redis
2427
self._permanent_off = use_redis

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /