Skip to content

Commit

Permalink
fix(websocket): it uses MS -_-
Browse files Browse the repository at this point in the history
  • Loading branch information
NuttyShrimp committed Apr 24, 2024
1 parent d342414 commit 7e06cb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7e06cb1

Please sign in to comment.