fix(core): increase default headers timeout to 5 minutes (#20890)

This commit is contained in:
Christian Gunderman
2026-03-02 22:36:58 +00:00
committed by GitHub
parent d05ba11a31
commit 3f7ef816f1

View File

@@ -8,7 +8,7 @@ import { getErrorMessage, isNodeError } from './errors.js';
import { URL } from 'node:url';
import { Agent, ProxyAgent, setGlobalDispatcher } from 'undici';
const DEFAULT_HEADERS_TIMEOUT = 60000; // 60 seconds
const DEFAULT_HEADERS_TIMEOUT = 300000; // 5 minutes
const DEFAULT_BODY_TIMEOUT = 300000; // 5 minutes
// Configure default global dispatcher with higher timeouts