use timeout on HTTP requests (#1453)

This commit is contained in:
Sam Machin
2025-12-02 12:41:47 +00:00
committed by GitHub
parent 7f1543a0f3
commit 451feafed4
2 changed files with 2 additions and 2 deletions

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
};