-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(seer grouping): Use circuit breaker for Seer call during grouping (…
…#71635) This adds a circuit breaker to the Seer call we make before creating a new group, backed up by a new option, `seer.similarity.circuit-breaker-config`. This means that if requests to Seer in that spot error out too many times in a row, over too short a timespan, we'll temporarity block the majority of those calls. (Periodically we'll let one through, to see if whatever was broken has fixed itself, at which point we can resume calling it like normal.) Right now what "too many errors, too fast" means is more than 30 in an hour, which is the circuit breaker default. If we want to adjust that in the future, we can do so by modifying the new option, which right now only overrides the circuit breaker defaults to turn on that periodic "see if things are okay now" bypass.
- Loading branch information
1 parent
86f237e
commit bfecb17
Showing
4 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters