-
Notifications
You must be signed in to change notification settings - Fork 556
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(CircuitBreaker): independent DCR switch
We want to be able to turn off the circuit breaker for DCR independently of CAPI
- Loading branch information
Showing
2 changed files
with
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,6 +66,16 @@ trait PerformanceSwitches { | |
exposeClientSide = false, | ||
) | ||
|
||
val CircuitBreakerDcrSwitch = Switch( | ||
SwitchGroup.Performance, | ||
"circuit-breaker-dcr", | ||
"If this switch is switched on then the DCR API circuit breaker will be operational", | ||
owners = Seq(Owner.withEmail("[email protected]")), | ||
safeState = Off, | ||
sellByDate = never, | ||
exposeClientSide = false, | ||
) | ||
|
||
val AutoRefreshSwitch = Switch( | ||
SwitchGroup.Performance, | ||
"auto-refresh", | ||
|
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