File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -761,6 +761,13 @@ export function buildKernelTelemetryOptions(
761761 } else {
762762 warnRejected ( 'telemetryCloseTimeoutMs' , config . telemetryCloseTimeoutMs , 'greater than zero' ) ;
763763 }
764+ // We forward `telemetryCircuitBreakerThreshold`/`telemetryCircuitBreakerTimeoutMs`
765+ // but intentionally leave `telemetryCircuitBreakerEnabled` unset: breaker activation
766+ // is delegated to the kernel default. The threshold/timeout only take effect when
767+ // the kernel enables the breaker; when it is disabled they are inert. There is no
768+ // driver-side enable knob in `ClientConfig` to forward, so the enable decision lives
769+ // entirely with the kernel default (mirroring the `telemetryEnabled` opt-in above).
770+ //
764771 // The napi contract requires threshold/timeout to be strictly positive when
765772 // supplied. A caller-supplied `0` (or negative) would otherwise be forwarded
766773 // verbatim and surface as a hard kernel `openSession` rejection, so treat any
You can’t perform that action at this time.
0 commit comments