Skip to main content

renew

Function renew 

Source
pub fn renew(
    conn: &Connection,
    install: &str,
    generation: i64,
    now_ms: i64,
    lease_ms: i64,
) -> Result<bool>
Expand description

Extends the lease if install still holds the lock at generation; false means it was replaced and must stop.