mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-09 18:59:50 +08:00
Disable key circuit breaker for pool providers
This commit is contained in:
@@ -128,6 +128,7 @@ pub(super) fn is_candidate_selectable(
|
||||
.get(candidate.key_id.as_str())
|
||||
.copied()
|
||||
.unwrap_or(false),
|
||||
enforce_key_circuit_breaker: !pool_group,
|
||||
rpm_reset_at: (!pool_group)
|
||||
.then(|| {
|
||||
snapshot
|
||||
@@ -182,6 +183,7 @@ pub(super) fn current_candidate_runtime_skip_reason(
|
||||
.get(candidate.key_id.as_str())
|
||||
.copied()
|
||||
.unwrap_or(false),
|
||||
enforce_key_circuit_breaker: !pool_group,
|
||||
rpm_reset_at,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user