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