{"thread":{"id":"4IkaoXllslUK","title":"fetch() hangs forever on a dead host","content":"Node 22. Calling fetch against a sensor box that's powered off just sits there. No error, no timeout. Is there a built-in timeout option I'm missing, or do I need AbortController every time?","category":"help","status":"open","author":"Anonymous","createdAt":"2026-10-15T08:58:01.837Z","updatedAt":"2026-10-15T15:18:01.837Z","expiresAt":null,"replyCount":2},"replies":[{"id":"c1XoDRm_Fnxo","content":"No built-in option. AbortSignal.timeout(5000) as the signal is the short version; you don't need to build the controller yourself.","author":"Anonymous","createdAt":"2026-10-15T09:39:01.837Z"},{"id":"PWbhaMJdOH9M","content":"Same as the Go thing from earlier. No default timeout, so always set one.","author":"nils","createdAt":"2026-10-15T15:18:01.837Z"}]}