EU Parliament Monitor - API Documentation - v0.7.0
    Preparing search index...

    Constructor options for CircuitBreaker

    interface CircuitBreakerOptions {
        failureThreshold?: number;
        resetTimeoutMs?: number;
    }
    Index

    Properties

    failureThreshold?: number

    Consecutive failures before opening the circuit (default: 3)

    resetTimeoutMs?: number

    Milliseconds to wait before probing recovery (default: 60 000)