kernl API
    Preparing search index...

    Variable SHELL_RELAY_OPTIONSConst

    SHELL_RELAY_OPTIONS: RelayPoolOptions = ...

    How the shell's own pool redials a relay that refused the connection.

    applesauce-relay 7.1 redials refused connections three times by default, pausing one, two and three seconds, and a publish waits for every relay it was sent to, so one dead relay in a tier held a publish for about six seconds. One redial after a second keeps the case it exists for: a busy public relay answers a websocket upgrade with 502 or 503 for a moment and accepts the next one (D-025, D-037). Subscriptions keep applesauce's default, because a live subscription should come back after a drop.

    const pool = new RelayPool(SHELL_RELAY_OPTIONS);