{"name":"CLAUDE_GATEWAY_DRAIN_TIMEOUT_MS","slug":"claude-gateway-drain-timeout-ms","family":"env","title":"Environment variables","noun":"environment variable","description":"claude gateway now shuts down gracefully on SIGTERM\/SIGINT instead of exiting abruptly","description_source":"entry","described_by":{"version":"2.1.274","anchor":"claude-gateway-gets-graceful-shutdown-on-sigtermsigint"},"presence":{"first_seen":"2.1.274","removed_in":null,"in_current_build":true,"newest_mined":"2.1.319","builds":42,"mined_builds":159,"first_cited":{"version":"2.1.274","released_at":"2026-09-16 22:36:09","spans":1}},"aliases":[],"entries":[{"version":"2.1.274","anchor":"claude-gateway-gets-graceful-shutdown-on-sigtermsigint","heading":"claude gateway gets graceful shutdown on SIGTERM\/SIGINT","line":"claude gateway now shuts down gracefully on SIGTERM\/SIGINT instead of exiting abruptly","released_at":"2026-09-16 22:36:09","reason":"named in this entry, found in this entry's text"}],"entries_total":1,"docs":[{"source":"claude-code","path":"claude-apps-gateway-deploy","title":"Claude apps gateway deployment and operations","documented":false}],"docs_total":1,"gates":[],"related":[{"name":"CLAUDE_GATEWAY_ALLOW_LOOPBACK","slug":"claude-gateway-allow-loopback","description":"The gateway can authenticate callers with Anthropic-issued JWTs verified against a remote key endpoint."},{"name":"CLAUDE_GATEWAY_LOG_FORMAT","slug":"claude-gateway-log-format","description":"Setting CLAUDE_GATEWAY_LOG_FORMAT to json turns Claude Code gateway messages into structured error logs"},{"name":"CLAUDE_GATEWAY_LOG_LEVEL","slug":"claude-gateway-log-level","description":"Minimum level for the gateway's `[gateway]` log lines written to stderr: `debug`, `info`, `warn` or `error`, case-insensitive. Default `info`; an unset or unrecognised value uses `info`."},{"name":"CLAUDE_GATEWAY_PROXY_IS_EGRESS_BOUNDARY","slug":"claude-gateway-proxy-is-egress-boundary","description":"A new env var lets a gateway proxy handle outbound address safety checks itself instead of Claude Code"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-gateway-drain-timeout-ms","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}