Skip to content

Commit

Permalink
config: set sockjs thread pool size
Browse files Browse the repository at this point in the history
  • Loading branch information
geneaky committed Oct 10, 2023
1 parent 3a078dc commit a4de5af
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public void configureWebSocketTransport(WebSocketTransportRegistration registrat
@Override
protected void customizeClientInboundChannel(ChannelRegistration registration) {
registration.interceptors(webSocketTokenValidationInterceptor);
registration.taskExecutor().corePoolSize(10);
registration.taskExecutor().maxPoolSize(10);
}

@Override
Expand Down

0 comments on commit a4de5af

Please sign in to comment.