slowQueryThreshold property

Duration? slowQueryThreshold
final

Threshold above which a query's wall-clock duration triggers a SlowQueryDetected event on IAdminService.events. When null, the runtime falls back to queryTimeout * 0.8 if a query timeout is set; otherwise no slow-query events are emitted.

The threshold is observability-only — it does not cancel the query. Useful for dashboards / alerting on regressions.

Implementation

final Duration? slowQueryThreshold;