From 7e06cb1539cefbf90089611cde79160afc68c2df Mon Sep 17 00:00:00 2001 From: NuttyShrimp Date: Wed, 24 Apr 2024 09:20:01 +0200 Subject: [PATCH] fix(websocket): it uses MS -_- --- src/main/java/telraam/station/websocket/WebsocketClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/telraam/station/websocket/WebsocketClient.java b/src/main/java/telraam/station/websocket/WebsocketClient.java index dbab406..7767258 100644 --- a/src/main/java/telraam/station/websocket/WebsocketClient.java +++ b/src/main/java/telraam/station/websocket/WebsocketClient.java @@ -28,7 +28,7 @@ public void listen() throws RuntimeException { try { WebSocketContainer container = ContainerProvider.getWebSocketContainer(); container.setDefaultMaxTextMessageBufferSize(100 * 1048576); // 100Mb - container.setDefaultMaxSessionIdleTimeout(60); + container.setDefaultMaxSessionIdleTimeout(60000); container.connectToServer(this, endpoint); } catch (Exception e) { throw new RuntimeException(e);