diff options
author | Vitaly Takmazov | 2020-03-02 11:55:16 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2020-03-02 11:55:16 +0300 |
commit | 46ce5e76a09793b0c4f264777e89a110e378f751 (patch) | |
tree | bf90b4a07ce002f8c61bb9d0cc935a5b02170770 /src/main/java/com | |
parent | 0276043928261aac3181382a41161085b91ea12b (diff) |
XMPP: fix bean name
Diffstat (limited to 'src/main/java/com')
-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 4bee2d63..94fe0d1e 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 taskExecutor; + private Executor threadPoolTaskExecutor; @Value("${service_user:juick}") private String serviceUsername; @Inject @@ -259,7 +259,7 @@ public class XMPPManager implements NotificationListener { xmpp.addInboundPresenceListener(event -> { incomingPresence(event.getPresence()); }); - taskExecutor.execute(() -> { + threadPoolTaskExecutor.execute(() -> { try { xmpp.connect(); } catch (XmppException e) { |