mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-09 19:48:37 +01:00
ping each 20s
nginx timeouts on 30s
This commit is contained in:
parent
061699242f
commit
6caafab973
@ -30,7 +30,7 @@ class ViaWebApp(val viaWebServer: WebDashboardServer) {
|
|||||||
}
|
}
|
||||||
install(WebSockets) {
|
install(WebSockets) {
|
||||||
maxFrameSize = Short.MAX_VALUE.toLong()
|
maxFrameSize = Short.MAX_VALUE.toLong()
|
||||||
pingPeriod = Duration.ofSeconds(60)
|
pingPeriod = Duration.ofSeconds(20)
|
||||||
timeout = Duration.ofSeconds(15)
|
timeout = Duration.ofSeconds(15)
|
||||||
}
|
}
|
||||||
install(XForwardedHeaderSupport)
|
install(XForwardedHeaderSupport)
|
||||||
|
Loading…
Reference in New Issue
Block a user