use timeout on HTTP requests (#1453)

This commit is contained in:
Sam Machin authored and GitHub committed 2025-12-02 07:41:47 -05:00
1 parent 7f1543a0f3
commit 451feafed4
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -191,7 +191,7 @@ class HttpRequestor extends BaseRequestor {
method,
headers: hdrs,
...('POST' === method && {body: JSON.stringify(payload)}),
timeout: HTTP_TIMEOUT,
headersTimeout: HTTP_TIMEOUT,
followRedirects: false
};