AppleSauce
    Preparing search index...

    Interface RelayState

    State information for a relay's health tracking

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

    Properties

    backoffUntil?: number

    When the backoff period ends (timestamp)

    failureCount: number

    Number of consecutive failures

    lastFailureTime: number

    Timestamp of last failure

    lastSuccessTime: number

    Timestamp of last success

    Current relay health state