diff options
Diffstat (limited to 'juick-ws/src/main/java/com/juick/ws/configuration')
-rw-r--r-- | juick-ws/src/main/java/com/juick/ws/configuration/WebsocketAppConfiguration.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/juick-ws/src/main/java/com/juick/ws/configuration/WebsocketAppConfiguration.java b/juick-ws/src/main/java/com/juick/ws/configuration/WebsocketAppConfiguration.java index 9e2e4f6f5..9824a30c6 100644 --- a/juick-ws/src/main/java/com/juick/ws/configuration/WebsocketAppConfiguration.java +++ b/juick-ws/src/main/java/com/juick/ws/configuration/WebsocketAppConfiguration.java @@ -38,12 +38,7 @@ public class WebsocketAppConfiguration implements WebSocketConfigurer { @Bean public XMPPConnection ws() { - return new XMPPConnection(env, service(), wsHandler(), jdbc); - } - - @Bean - public ExecutorService service() { - return Executors.newCachedThreadPool(); + return new XMPPConnection(env, wsHandler(), jdbc); } @Override |