supra-ts-sdk - v2.0.0
    Preparing search index...

    Interface RetryConfig

    Retry policy of idempotent GET requests. A request is retried when the node answers 429 or 503 or the connection fails. A 429 is retried after the wait the node asks for (retry_after_seconds of the body, else the Retry-After header); the other cases wait for a delay that starts at 250 ms and doubles on every retry. No wait exceeds maxDelayMs: a 429 that asks for a longer wait is thrown at once. A timeout is not retried. POST requests (submit, simulate, view) are never retried.

    interface RetryConfig {
        attempts?: number;
        maxDelayMs?: number;
    }
    Index
    attempts?: number

    Requests to send in total, the first included. Default 3.

    maxDelayMs?: number

    Longest wait before a retry, in milliseconds, from 0 to 2147483647. Default 10000.