Skip to content

Commit

Permalink
fix(ws-fetcher): infinite timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
NuttyShrimp committed Apr 23, 2024
1 parent 9b0c733 commit 413e855
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/telraam/station/websocket/WebsocketClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 413e855

Please sign in to comment.