[next] Websocket Keep Alive (#2394)

* feat: added keepalive config

* fix: format

* fix: adjusted client timeout default

* Update server.ts
This commit is contained in:
Wyatt Johnson
2019-07-09 16:27:58 +00:00
committed by GitHub
parent 9a191b44ba
commit 9e55ea66fa
4 changed files with 20 additions and 0 deletions
+3
View File
@@ -385,6 +385,9 @@ the variables in a `.env` file in the root of the project in a simple
- `CLUSTER_METRICS_PORT` - If `CONCURRENCY` is more than `1`, the metrics are provided at this port under `/cluster_metrics`. (Default `3001`)
- `DISABLE_LIVE_UPDATES` - When `true`, disables subscriptions for the comment
stream for all stories across all tenants (Default `false`)
- `WEBSOCKET_KEEP_ALIVE_TIMEOUT` - A duration in a parsable format (e.g. `30 seconds`
, `1 minute`) that should be used to send keep alive messages through the
websocket to keep the socket alive (Default `30 seconds`)
## License