You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds query_timeout configuration option that cancels queries exceeding
the specified duration. Prevents runaway queries from blocking
connections indefinitely.
Changes:
- Add QueryTimeout to server.Config struct
- Add query_timeout to YAML config and DUCKGRES_QUERY_TIMEOUT env var
- Add queryContext() helper returning context with timeout
- Update all db.Query/db.Exec calls to use context variants
- Return SQLSTATE 57014 (query_canceled) on timeout
- Add duckgres_query_timeouts_total Prometheus metric
- Add PLAN.md to .gitignore for local planning docs
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments