diff options
author | Alex Gleason <alex@alexgleason.me> | 2024-05-26 00:16:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-26 10:46:05 +0530 |
commit | f8975a8ecbdb31e846ff1a583b9cdb0bd8a71fcc (patch) | |
tree | e91eb475871f83bd60b972cf96d67abfb1532096 /cli | |
parent | 0ef1c774f6ed00d6cbe2de1ebd3f12da6c949394 (diff) |
fix(ext/websocket): change default idleTimeout to 30s (#23985)
Change the default server websocket `idleTimeout` to 30s to work with common Nginx setups which have a default timeout of 60 seconds
Diffstat (limited to 'cli')
-rw-r--r-- | cli/tsc/dts/lib.deno.ns.d.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index 21b47a466..76b59761c 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -5730,7 +5730,7 @@ declare namespace Deno { * `pong` within the timeout specified, the connection is deemed * unhealthy and is closed. The `close` and `error` event will be emitted. * - * The unit is seconds, with a default of 120. + * The unit is seconds, with a default of 30. * Set to `0` to disable timeouts. */ idleTimeout?: number; } |