diff --git a/src/main/kotlin/com/github/creeper123123321/viaaas/web/ViaWebApp.kt b/src/main/kotlin/com/github/creeper123123321/viaaas/web/ViaWebApp.kt index 81bb8e7..4e7d927 100644 --- a/src/main/kotlin/com/github/creeper123123321/viaaas/web/ViaWebApp.kt +++ b/src/main/kotlin/com/github/creeper123123321/viaaas/web/ViaWebApp.kt @@ -20,6 +20,8 @@ class ViaWebApp { } install(WebSockets) { maxFrameSize = Short.MAX_VALUE.toLong() + pingPeriod = Duration.ofSeconds(60) + timeout = Duration.ofSeconds(15) } routing { @@ -47,4 +49,4 @@ class ViaWebApp { } } } -} \ No newline at end of file +}