Skip to content

Interface: CircuitBreakerOptions ​

Defined in: api/rust-fetch.d.ts:136

Properties ​

failureThreshold? ​

optional failureThreshold?: number

Defined in: api/rust-fetch.d.ts:138

Consecutive failed attempts (network errors, timeouts, 5xx) before opening. Default: 5


resetAfterMs? ​

optional resetAfterMs?: number

Defined in: api/rust-fetch.d.ts:140

Delay before allowing one recovery probe. Default: 30000

Released under the MIT or Apache-2.0 license.