mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
63a6ed7f8d
* fix: Apply Postgres statement_timeout on request-handling processes Sets `statement_timeout` to REQUEST_TIMEOUT on the Sequelize connection pool when the process handles HTTP requests (web/api/collaboration/ websockets/admin) and does not also run worker/cron. Prevents a single runaway query from saturating the shared Postgres instance and cascading into timeouts across all endpoints. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * Drop dead `api` service check Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * Only apply statement_timeout in forked cluster workers Skips the timeout in the master process so startup migrations driven from `checkPendingMigrations` are not cancelled mid-execution. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>