diff --git a/src/main/java/telraam/station/websocket/WebsocketClient.java b/src/main/java/telraam/station/websocket/WebsocketClient.java index 25b7bb4..260baee 100644 --- a/src/main/java/telraam/station/websocket/WebsocketClient.java +++ b/src/main/java/telraam/station/websocket/WebsocketClient.java @@ -27,6 +27,8 @@ public void listen() throws RuntimeException { try { WebSocketContainer container = ContainerProvider.getWebSocketContainer(); container.setDefaultMaxTextMessageBufferSize(100 * 1048576); // 100Mb + container.setDefaultMaxSessionIdleTimeout(0); + container.setAsyncSendTimeout(0); container.connectToServer(this, endpoint); } catch (Exception e) { throw new RuntimeException(e);