diff options
Diffstat (limited to 'src/main/java/com/juick/server/XMPPManager.java')
-rw-r--r-- | src/main/java/com/juick/server/XMPPManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/juick/server/XMPPManager.java b/src/main/java/com/juick/server/XMPPManager.java index 5c58345a..dd2eaaf2 100644 --- a/src/main/java/com/juick/server/XMPPManager.java +++ b/src/main/java/com/juick/server/XMPPManager.java @@ -114,7 +114,7 @@ public class XMPPManager implements NotificationListener { @Inject private PMQueriesService pmQueriesService; @Inject - private Executor threadPoolTaskExecutor; + private Executor applicationTaskExecutor; @Value("${service_user:juick}") private String serviceUsername; @Inject @@ -259,7 +259,7 @@ public class XMPPManager implements NotificationListener { xmpp.addInboundPresenceListener(event -> { incomingPresence(event.getPresence()); }); - threadPoolTaskExecutor.execute(() -> { + applicationTaskExecutor.execute(() -> { try { xmpp.connect(); } catch (XmppException e) { |