Lower default heartbeat interval

Use 45 seconds as the default heartbeat interval instead of 60.  Using
60 causes connections to drop when proxied through Nginx as the default
timeout there is also 60 seconds.
This commit is contained in:
Hornwitser committed 2020-11-09 20:19:22 +01:00
1 parent a92ae95ab1
commit 4c9b91ab57
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -84,7 +84,7 @@ heartbeat interval it will be considered stale and closed. A lower
value means less time between connections going stale and them being
closed.
Defaults to 60
Defaults to 45
### master.connector_shutdown_timeout
+1 -1
View File
@@ -78,7 +78,7 @@ MasterGroup.define({
title: "Heartbeat Interval",
description: "Interval heartbeats are sent out on WebSocket connections",
type: "number",
initial_value: 60,
initial_value: 45,
});
MasterGroup.define({
name: "connector_shutdown_timeout",