Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.268 ·

setTimeout/setInterval globally proxied to clamp overflow delays

Claude Code now clamps overly long setTimeout/setInterval delays instead of letting them silently misbehave

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaElsewherewhat it touches
KindBug Fixesin v2.1.268,
You'll notice

Claude Code now clamps overly long setTimeout/setInterval delays instead of letting them silently misbehave

What

Claude Code now wraps the global setTimeout and setInterval functions at startup so that any delay value greater than 2147483647 (Node.js's 32-bit limit for these timers) is automatically clamped down to that maximum before the timer runs. When a clamp happens, it logs a warning and, once per relevant case, records telemetry about it.

Why

Without this, a timer scheduled with too large a delay would silently fire almost immediately instead of after the intended wait, an easy-to-miss bug; clamping it and warning makes that situation visible instead of silent.

See this entry in the whole of v2.1.268 →

Feedback