The timeout for detecting a stuck hooks worker can now be set remotely instead of always being fixed at 5 seconds
Claude Code runs a background "hooks worker" process to execute hooks (scripts that run automatically at certain points). It detects a stuck, unresponsive worker by checking whether it has answered a heartbeat check within a timeout. That timeout used to always be a fixed 5000 milliseconds. Now, as long as there are no pending loads or builds in progress, the timeout value can instead come from a remotely configured setting, falling back to the same 5-second default otherwise.
This lets the stuck-worker detection threshold be tuned remotely without needing a new release, while keeping a safe fallback during load or build activity.