Skip to main content

hold_for_down_peer

Function hold_for_down_peer 

Source
pub(super) async fn hold_for_down_peer(
    state: &AppState,
    auth_via: ReactiveAuthVia,
    req: &InjectionRequest,
    resp: &InjectionResponse,
) -> Option<Value>
Expand description

Hold req for an agent of a LAN peer that is down. None leaves it to the relay and the other holds: the hold does not apply to this sender, the agent is not a known peer’s, its machine is answering, it is defined here, or the relay has it.