Claude apps gateway configuration changedclaude-apps-gateway-config
Upstream edited this page at 28 Sep 2026 00:07 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 28 Sep 2026 00:37 UTC.
Upstream edited
Recorded here
Lines+2added
Lines−0removed
From line
148
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits30to this page, all time
The whole hunk
from line 148, old and new numbered
/
from line 148
148148| `password` | No | Database credential. Set it here rather than in `postgres_url` so the credential stays out of the URL. Accepts any characters and takes precedence over URL credentials. |
149149| `max_connections` | No | Postgres connection-pool size per replica. Default `5`, which is conservative and friendly to shared databases. With [spend limits](#admin) enabled, the hot path does a few operations per inference request, so raise it for a dedicated database under load, and keep replicas × this below the database's `max_connections`. |
150150| `connect_timeout_seconds` | No | Seconds the gateway waits when it opens a Postgres connection. A whole number from `1` to `60`, default `5`. Raise it if connection attempts time out when a new gateway instance starts. Requires Claude Code v2.1.274 or later on the gateway server. Earlier versions refuse to start when the key is set. |
151| `readiness_grace_seconds` | No | How many seconds `/readyz` keeps reporting ready after Postgres stops answering. A whole number from `0` to `3600`, default `0`. See [Outage behavior](/docs/en/claude-apps-gateway-deploy#outage-behavior) for how to pick a value. Requires Claude Code v2.1.282 or later on the gateway server. Earlier versions refuse to start when the key is set. |
151152
152153For local development, point `postgres_url` at a throwaway Postgres container, for example `docker run --rm -p 5432:5432 -e POSTGRES_HOST_AUTH_METHOD=trust postgres`.
153154
from line 1067
10661067 postgres_url: ${GATEWAY_POSTGRES_URL}
10671068 # max_connections: 5
10681069 # connect_timeout_seconds: 5
1070 # readiness_grace_seconds: 300 # keep passing the readiness check through a database failover
10691071
10701072# Enables /v1/organizations/spend_limits (mirrors the Anthropic Admin API)
10711073# and per-developer spend enforcement on /v1/messages. Omit to disable.
No line in this hunk matches that.