Skip to content

Commit

Permalink
fix: 🩹 thread names
Browse files Browse the repository at this point in the history
  • Loading branch information
AnzhiZhang committed Oct 2, 2024
1 parent f2411ae commit 99b4cf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/zhanganzhi/chathub/ChatHub.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void onInitialize(ProxyInitializeEvent event) {
);

// init event hub
new Thread(() -> eventHub.start()).start();
new Thread(() -> eventHub.start(), "chathub-event-hub-start-event").start();
}

@Subscribe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class QQAdaptor extends AbstractAdaptor<QQFormatter> {
public QQAdaptor(ChatHub chatHub) {
super(chatHub, Platform.QQ, new QQFormatter());
qqAPI = new QQAPI(chatHub);
eventListener = new Thread(this::eventListener, "qq-event-listener");
eventListener = new Thread(this::eventListener, "chathub-qq-event-listener");
}

@Override
Expand Down

0 comments on commit 99b4cf7

Please # to comment.