Applesauce
    Preparing search index...

    Interface RelayState

    State information for a relay's health tracking

    interface RelayState {
        backoffUntil?: number;
        failureCount: number;
        firstFailureTime?: number;
        lastFailureTime: number;
        lastSuccessTime: number;
        state: RelayHealthState;
    }
    Index
    backoffUntil?: number

    When the backoff period ends (timestamp)

    failureCount: number

    Number of consecutive failures

    firstFailureTime?: number

    Timestamp of the first failure in the current streak

    lastFailureTime: number

    Timestamp of last failure

    lastSuccessTime: number

    Timestamp of last success

    Current relay health state