添加联查信息方法
parent
69f26c0cb2
commit
ddb338240d
|
@ -214,8 +214,9 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, TaskInfo> implement
|
|||
|
||||
// 启动线程池执行任务
|
||||
for (int i = 0; i < 10; i++) { // 可以根据需要调整线程池大小
|
||||
// executor.submit(new Worker(queue));
|
||||
executor.submit(new Worker(queue));
|
||||
log.info("运行{}",i);
|
||||
break;
|
||||
}
|
||||
|
||||
executor.shutdown();
|
||||
|
|
Loading…
Reference in New Issue