From 6d075995645f8f26e4e91aa8c5f6fe36b214e23a Mon Sep 17 00:00:00 2001 From: Paul Masurel Date: Tue, 31 May 2022 19:00:14 +0900 Subject: [PATCH] From Japan, the 1s heartbeat is too strict to run the kinesis tutorial. (#1574) --- quickwit-actors/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickwit-actors/src/lib.rs b/quickwit-actors/src/lib.rs index fa3f29d0e36..991611de6d6 100644 --- a/quickwit-actors/src/lib.rs +++ b/quickwit-actors/src/lib.rs @@ -67,7 +67,7 @@ pub use crate::runner::ActorRunner; /// If an actor does not advertise a progress within an interval of duration `HEARTBEAT`, /// its supervisor will consider it as blocked and will proceed to kill it, as well /// as all of the actors all the actors that share the killswitch. -pub const HEARTBEAT: Duration = Duration::from_secs(1); +pub const HEARTBEAT: Duration = Duration::from_secs(3); pub fn message_timeout() -> Duration { HEARTBEAT.mul_f32(0.2f32)