Commit aa22de20 authored by 赵啸非's avatar 赵啸非

修改导入事项与材料

parent 91ab667e
......@@ -84,8 +84,9 @@ public class DemoStartedService implements IApplicationStartedService {
//启动短信发送响应更新线程
/* ThreadPool.getInstance().execute(() -> {
int waitTime = 1000;
new Thread(() -> {
int waitTime = 5000;
while (!stopped) {
try {
MessageTaskEntity message = SmsQueueManager.pollRespQueue();
......@@ -101,8 +102,7 @@ public class DemoStartedService implements IApplicationStartedService {
}
}
}
});*/
}).start();
AlarmSendMsgThread alarmSendMsgThread = new AlarmSendMsgThread(smsSendUrl, apiId);
ThreadPool.getInstance().execute(alarmSendMsgThread);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment