brane_let::common

Constant HEARTBEAT_DELAY

Source
pub const HEARTBEAT_DELAY: u64 = 5000;
Expand description

The time between each heartbeat update (in ms)

Shouldn’t be longer than the timeout of heartbeats defined in brane-drv (10 seconds at the time of writing), as brane-drv considers the branelet dead if it didn’t send a heartbeat in that time.