Skip to content

Commit e76a821

Browse files
committed
increase heartbeat check durn [skip ci]
1 parent 55beb5a commit e76a821

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compute/src/node/diagnostic.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ use crate::{
77
};
88

99
/// Number of seconds such that if the last heartbeat ACK is older than this, the node is considered unreachable.
10-
const HEARTBEAT_LIVENESS_SECS: Duration = Duration::from_secs(150);
10+
/// This must be at least greated than the heartbeat interval duration, and the liveness check duration.
11+
const HEARTBEAT_LIVENESS_SECS: Duration = Duration::from_secs(4 * 60);
1112

1213
impl DriaComputeNode {
1314
/// Returns the task count within the channels, `single` and `batch`.

0 commit comments

Comments
 (0)