@graphql-hive/core
Version:
19 lines • 596 B
TypeScript
export type CircuitBreakerConfiguration = {
/**
* Percentage after what the circuit breaker should kick in.
* Default: 50
*/
errorThresholdPercentage: number;
/**
* Count of requests before starting evaluating.
* Default: 5
*/
volumeThreshold: number;
/**
* After what time the circuit breaker is attempting to retry sending requests in milliseconds
* Default: 30_000
*/
resetTimeout: number;
};
export declare const defaultCircuitBreakerConfiguration: CircuitBreakerConfiguration;
//# sourceMappingURL=circuit-breaker.d.ts.map