{"version":"2.1.332","anchor":"retry-watchdog-wait-cap-and-git-checked-requests","canonical_anchor":"retry-watchdog-wait-cap-and-git-checked-requests","heading":"Retry wait limit can be set with CLAUDE_CODE_RETRY_WATCHDOG_MAX_WAIT_MS","tier":"use","area":"Retries","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/retry-watchdog-wait-cap-and-git-checked-requests","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Retry wait limit can be set with `CLAUDE_CODE_RETRY_WATCHDOG_MAX_WAIT_MS`\n\nThe longest wait between retries is now capped, and `CLAUDE_CODE_RETRY_WATCHDOG_MAX_WAIT_MS` can lower that cap when `CLAUDE_CODE_RETRY_WATCHDOG` is set\n\n**What**\n\nWhen a request fails, Claude Code waits and then tries again. The longest it will wait is now the smallest of these limits:\n\n- a fixed built-in limit\n\n- a second limit that applies only under a certain condition\n\n- the value of `CLAUDE_CODE_RETRY_WATCHDOG_MAX_WAIT_MS`, in milliseconds\n\nThe `CLAUDE_CODE_RETRY_WATCHDOG_MAX_WAIT_MS` limit only counts when `CLAUDE_CODE_RETRY_WATCHDOG` is also set. Both are environment variables, values you set in your shell before starting Claude Code.\n\nClaude Code can also now send a request again when a git comparison gives a different answer. This is reported with the message \"git answered differently, so the request is sent again\".\n\n**Why**\n\nThese settings control how long Claude Code waits before trying a failed request again.\n\n- Area: Retries\n- Names: `CLAUDE_CODE_RETRY_WATCHDOG_MAX_WAIT_MS`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 2\/5\n- Scope: both\n- Heads-up: no"}