Tools
Claude apps gateway cuts its spend-limit check from four database round trips to one
v2.1.274 lands a batch of Claude apps gateway work aimed at load and boot reliability: the spend-limit check now takes one Postgres round trip instead of four so fewer checks time out under load, SIGTERM no longer cuts every open stream (in-flight requests get up to 25 seconds via `CLAUDE_GATEWAY_DRAIN_TIMEOUT_MS`), boot retries the first Postgres connection three times before exiting, and a new `store.connect_timeout_seconds` config lengthens the 5-second default. The gateway now also warns when a replica has more requests open than the 256 it forwards upstream at once and logs that limit at startup.
Source
↳ Follow the thread