Open
Description
This option was introduced in #418, which is meant to open on consecutive errors, regardless of time window. However, its implementation does not really take "consecutiveness" into account, causing it to open incorrectly.
For example, with an error_threshold of 2, and error_threshold_timeout_enabled
set to false
, the following might cause the circuit to open:
error -> success -> success -> success -> success -> ....10000 more successes -> error
This is not the desired behaviour
Metadata
Metadata
Assignees
Labels
No labels