寻找报错
parent
bedcd79ac2
commit
efb836ba61
|
@ -329,7 +329,7 @@ public class TaskInfoServiceImpl extends ServiceImpl<TaskInfoMapper, TaskInfo> i
|
||||||
log.info("{}查询结束",sqlSelect);
|
log.info("{}查询结束",sqlSelect);
|
||||||
log.info("执行{}添加的方法",sqlSelect);
|
log.info("执行{}添加的方法",sqlSelect);
|
||||||
Result result = datasourceFeign.addProduct(newBasicId, tableId, data);
|
Result result = datasourceFeign.addProduct(newBasicId, tableId, data);
|
||||||
log.info("{}添加结束",sqlSelect);
|
log.info("{}添加结束",result);
|
||||||
// for (List<DataValue> dataValues : tableValue) {
|
// for (List<DataValue> dataValues : tableValue) {
|
||||||
// for (DataValue dataValue : dataValues) {
|
// for (DataValue dataValue : dataValues) {
|
||||||
// String key = dataValue.getKey();
|
// String key = dataValue.getKey();
|
||||||
|
|
|
@ -37,7 +37,7 @@ public class OptimizedPrioritizedThreadPool {
|
||||||
// 创建固定大小的线程池
|
// 创建固定大小的线程池
|
||||||
executor = new ThreadPoolExecutor(
|
executor = new ThreadPoolExecutor(
|
||||||
totalThreads, totalThreads,
|
totalThreads, totalThreads,
|
||||||
60L, TimeUnit.SECONDS,
|
80L, TimeUnit.SECONDS,
|
||||||
new LinkedBlockingQueue<Runnable>()
|
new LinkedBlockingQueue<Runnable>()
|
||||||
);
|
);
|
||||||
highPrioritySemaphore = new Semaphore(defaultHighThreads);
|
highPrioritySemaphore = new Semaphore(defaultHighThreads);
|
||||||
|
|
Loading…
Reference in New Issue