doc: https update default request timeout

PR-URL: https://github.com/nodejs/node/pull/46184
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
Marco Ippolito 2023-01-13 09:32:19 +01:00 committed by GitHub
parent 96605796ef
commit 1f31eb2aa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,9 +176,14 @@ See [`server.maxHeadersCount`][] in the `node:http` module.
<!-- YAML
added: v14.11.0
changes:
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41263
description: The default request timeout changed
from no timeout to 300s (5 minutes).
-->
* {number} **Default:** `0`
* {number} **Default:** `300000`
See [`server.requestTimeout`][] in the `node:http` module.