mirror of
https://github.com/zongzibinbin/MallChat.git
synced 2026-03-15 07:03:42 +08:00
优化:线程全局异常处理器改为单例模式
This commit is contained in:
@@ -31,7 +31,7 @@ public class WeChatMsgOperationServiceImpl implements WeChatMsgOperationService
|
||||
TimeUnit.MILLISECONDS,
|
||||
new LinkedBlockingQueue<Runnable>(20),
|
||||
new NamedThreadFactory("wechat-operation-thread", null, false,
|
||||
new GlobalUncaughtExceptionHandler()));
|
||||
GlobalUncaughtExceptionHandler.getInstance()));
|
||||
|
||||
// at消息的微信推送模板id
|
||||
private final String atMsgPublishTemplateId = "Xd7sWPZsuWa0UmpvLaZPvaJVjNj1KjEa0zLOm5_Z7IU";
|
||||
|
||||
Reference in New Issue
Block a user