aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/ws/XMPPConnection.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/ws/XMPPConnection.java')
-rw-r--r--src/main/java/com/juick/ws/XMPPConnection.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/com/juick/ws/XMPPConnection.java b/src/main/java/com/juick/ws/XMPPConnection.java
index 9ac22d45..3122e715 100644
--- a/src/main/java/com/juick/ws/XMPPConnection.java
+++ b/src/main/java/com/juick/ws/XMPPConnection.java
@@ -38,8 +38,7 @@ public class XMPPConnection implements Runnable, Stream.StreamListener, Message.
MessageSerializer ms;
@Inject
WebsocketComponent ws;
- @Inject
- ExecutorService xmppThreadService;
+ ExecutorService xmppThreadService = Executors.newSingleThreadExecutor();
@Inject
public XMPPConnection(Environment env) {