mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-11-08 12:34:31 +00:00
use timeout on HTTP requests (#1453)
This commit is contained in:
1 parent
7f1543a0f3
commit
451feafed4
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user