Skip to main content

write_takeover

Function write_takeover 

Source
pub fn write_takeover(
    suite: &Suite,
    service: &str,
    req: &TakeoverRequest,
) -> Result<()>
Expand description

Publish a takeover request (atomic, owner-only).

A host in another process finds the request on its next check of takeover.json, at most about a second later. A host in this process is woken at once.