Skip to content

Commit 819708d

Browse files
authored
Add description for shutdown_termination_timeout option (#31)
1 parent 0bec053 commit 819708d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/configuration/pgdog.toml/general.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,12 @@ queries as possible.
148148

149149
Default: **`60_000`** (60s)
150150

151+
### `shutdown_termination_timeout`
152+
153+
How long to wait for active connections to be forcibly terminated after `shutdown_timeout` expires. If set, PgDog will send `CANCEL` requests to PostgreSQL for any remaining active queries before tearing down connection pools. This prevents long-running queries from lingering after shutdown begins.
154+
155+
Default: **disabled**
156+
151157
### `query_timeout`
152158

153159
Maximum amount of time to wait for a Postgres query to finish executing. Use only in unreliable network conditions or when Postgres runs on unreliable hardware.

0 commit comments

Comments
 (0)