Skip to main content

LEASE_LIVENESS

Constant LEASE_LIVENESS 

pub const LEASE_LIVENESS: u32 = 8;
Expand description

The worker sends PING at least every interval while it holds the lease; the server revokes the lease after the timeout without traffic. The lease parameters are ping_interval_ms u32, timeout_ms u32. Granted only to a worker that offered it.