Hidden Claude Code Setting Enables Infinite Retries for Long Tasks

mobileraj · x · 2026-08-01

By default, Claude Code gives up after 10 retry attempts during an API outage, which can disrupt long-running overnight tasks.

A developer discovered that adding "CLAUDECODERETRYWATCHDOG": "1" to your settings.json enables infinite retries at a slower interval, ensuring your long tasks survive temporary outages.

Original post →

More from coding & agent

coding & agent channel →