{"version":"2.1.335","anchor":"network-error-regex-added-retry-delay-helper","canonical_anchor":"network-error-regex-added-retry-delay-helper","heading":"Retries now wait a calculated time and stop when cancelled","tier":"notice","area":"API Retries","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/network-error-regex-added-retry-delay-helper","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### Retries now wait a calculated time and stop when cancelled\n\nA retry loop now works out each wait instead of using a fixed delay, tracks total time, and stops if the request is cancelled\n\n**What**\n\nA retry loop in Claude Code now works out how long to wait before each new attempt, instead of always waiting the same fixed time. It adds up the time spent so far and stops if the request is cancelled.\n\nClaude Code also has a new way of recognising network errors, covering messages such as `ENOTFOUND`, `ECONNREFUSED`, `EAI_AGAIN` and `ETIMEDOUT`.\n\n**Why**\n\nThis may change how Claude Code retries when the network fails.\n\n- Area: API Retries\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}