perf: reduce idle backend work

This commit is contained in:
Tunglies
2026-08-24 18:42:49 +08:00
parent eb6c81b00f
commit 9085d907cd
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -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;