Postgres statement_timeout per Request: Bounding Monolith Queries
Turn an HTTP deadline into per-request Postgres statement_timeout and lock_timeout with SET LOCAL, cancel abandoned queries, and handle the errors safely.
21 min read
Tag
Turn an HTTP deadline into per-request Postgres statement_timeout and lock_timeout with SET LOCAL, cancel abandoned queries, and handle the errors safely.
21 min read