Skip to main content

try_cloud_relay

Function try_cloud_relay 

Source
pub(super) async fn try_cloud_relay(
    state: &AppState,
    req: &InjectionRequest,
    caller_uid: &str,
) -> Option<Value>
Expand description

Tier 4. Some(body) when the cloud accepted the injection (sender echo emitted); None when it doesn’t apply or didn’t take, leaving the caller to return its original error.

Queued is not delivered: success: true means “handed to the relay”, the strongest claim any WAN tier makes (and what DELIVERY=wan on the echoed marker says). The recipient’s srv picks it up on its next sync, or never if that instance is offline.