fix(core): reduce default API timeout to 60s and enable retries for undici timeouts (#26191)

This commit is contained in:
Adib234
2026-04-29 16:05:45 -04:00
committed by GitHub
parent 25f422d0e4
commit 99235fc59d
4 changed files with 33 additions and 9 deletions
+3
View File
@@ -55,6 +55,9 @@ const RETRYABLE_NETWORK_CODES = [
'ECONNREFUSED',
'ERR_SSL_WRONG_VERSION_NUMBER',
'EPROTO', // Generic protocol error (often SSL-related)
'UND_ERR_HEADERS_TIMEOUT',
'UND_ERR_BODY_TIMEOUT',
'UND_ERR_CONNECT_TIMEOUT',
];
// Node.js builds SSL error codes by prepending ERR_SSL_ to the uppercased