Setu-TS
    Preparing search index...

    Interface CircuitBreakerPolicy

    Circuit breaker policy consumed by the ResiliencePlugin's breaker pattern.

    0.1.0

    interface CircuitBreakerPolicy {
        resetTimeout: number;
        threshold: number;
        timeout: number;
    }
    Index
    resetTimeout: number

    Cooldown in milliseconds before an open breaker moves to half-open.

    threshold: number

    Failures within the timeout window that trip the breaker open.

    timeout: number

    Rolling failure window in milliseconds; failures older than this (measured by the monotonic clock) are dropped before the threshold check.