-
-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
I define two CircuitBreaker But if one of them changes the state of all CircuitBreaker change!!!
I think , need to change the code when set in Redis and use the name of CircuitBreaker to solve it
breaker = pybreaker.CircuitBreaker(name='breaker', fail_max=3, reset_timeout=2, listeners=[NotifyListener()],
state_storage=pybreaker.CircuitRedisStorage(pybreaker.STATE_CLOSED, redis))
other_breaker = pybreaker.CircuitBreaker(name='other_breaker', fail_max=3, reset_timeout=2, listeners=[NotifyListener()],
state_storage=pybreaker.CircuitRedisStorage(pybreaker.STATE_CLOSED, redis))
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels