mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-11-25 12:35:36 +01:00
ping websocket, avoid cloudflare auto disconnect
This commit is contained in:
parent
83fe6f6234
commit
1667bfe2ec
@ -20,6 +20,8 @@ class ViaWebApp {
|
||||
}
|
||||
install(WebSockets) {
|
||||
maxFrameSize = Short.MAX_VALUE.toLong()
|
||||
pingPeriod = Duration.ofSeconds(60)
|
||||
timeout = Duration.ofSeconds(15)
|
||||
}
|
||||
|
||||
routing {
|
||||
|
Loading…
Reference in New Issue
Block a user