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