Skip to content

Commit

Permalink
From Japan, the 1s heartbeat is too strict to run the kinesis tutoria…
Browse files Browse the repository at this point in the history
…l. (#1574)
  • Loading branch information
fulmicoton authored May 31, 2022
1 parent 870c9e1 commit 6d07599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickwit-actors/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6d07599

Please sign in to comment.