From 02e84bfbe3b30a061d095faeb90b2c5e33106802 Mon Sep 17 00:00:00 2001 From: Erik Grinaker Date: Mon, 16 Jun 2025 15:17:40 +0200 Subject: [PATCH] storcon: reduce `MAX_OFFLINE_INTERVAL_DEFAULT` to 10s --- storage_controller/src/service.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage_controller/src/service.rs b/storage_controller/src/service.rs index 8800d792f2..8c0d054151 100644 --- a/storage_controller/src/service.rs +++ b/storage_controller/src/service.rs @@ -123,7 +123,7 @@ pub(crate) const STARTUP_RECONCILE_TIMEOUT: Duration = Duration::from_secs(30); /// How long a node may be unresponsive to heartbeats before we declare it offline. /// This must be long enough to cover node restarts as well as normal operations: in future -pub const MAX_OFFLINE_INTERVAL_DEFAULT: Duration = Duration::from_secs(30); +pub const MAX_OFFLINE_INTERVAL_DEFAULT: Duration = Duration::from_secs(10); /// How long a node may be unresponsive to heartbeats during start up before we declare it /// offline.