feat: add network.ping_interval setting

Add a ping interval setting that allows you to customize the websocket
ping interval. The default of 5 minutes may be too high for some proxy
servers that disconnect connections that are held open for too long.
This commit is contained in:
William Casarin
2022-11-05 07:40:28 -05:00
committed by Greg Heartsfield
parent a6cb6f8486
commit 50577b2dfa
3 changed files with 6 additions and 1 deletions
+3
View File
@@ -51,6 +51,9 @@ port = 8080
#remote_ip_header = "x-forwarded-for"
#remote_ip_header = "cf-connecting-ip"
# Websocket ping interval in seconds, defaults to 5 minutes
#ping_interval = 300
[options]
# Reject events that have timestamps greater than this many seconds in
# the future. Recommended to reject anything greater than 30 minutes