mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-04 22:52:23 +08:00
perf: reduce idle backend work
This commit is contained in:
@@ -1067,7 +1067,7 @@ fn mark_service_unavailable_after_owner_loss<E: RunStateEnv>(store: &RunStateSto
|
||||
}
|
||||
|
||||
/// How often the owner monitor samples Service status.
|
||||
const OWNER_MONITOR_INTERVAL: Duration = Duration::from_secs(2);
|
||||
const OWNER_MONITOR_INTERVAL: Duration = Duration::from_secs(5);
|
||||
/// Mirrors `OwnerWatch`'s tolerance, for the log line only.
|
||||
const SUSTAINED_OWNER_SAMPLES: u8 = 3;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user