Vereda
    Preparing search index...

    Interface RetryBudgetConfig

    Caps retries per partition to a fraction of its recent traffic. A retry is allowed only while retries < max(minRetriesPerSec * windowMs / 1000, ratio * requests) over the last windowMs, where requests counts first attempts. Past that, the ticket fails with its last error instead of waiting. Opt-in: no budget applies unless one is configured.

    interface RetryBudgetConfig {
        ratio: number;
        windowMs: number;
        minRetriesPerSec?: number;
    }
    Index
    ratio: number

    Retries allowed per first attempt in the window, e.g. 0.1 = 10%.

    windowMs: number

    Length of the sliding window in ms.

    minRetriesPerSec?: number

    Floor that lets a low-traffic partition retry at all.