寻找报错
parent
97a181aff3
commit
0def068b03
|
@ -32,6 +32,8 @@ public interface DatasourceFeign {
|
|||
public Result addProduct(@RequestParam("basicId") Long basicId,
|
||||
@RequestParam("tableId") Long tableId,
|
||||
@RequestBody List<List<DataValue>> listList);
|
||||
|
||||
|
||||
@PostMapping("/product/addProduct")
|
||||
public Result addProduct(@RequestParam("basicId") Long basicId,
|
||||
@RequestParam("tableId") Long tableId,
|
||||
|
|
|
@ -42,7 +42,7 @@ import static com.muyu.task.server.thread.OptimizedPrioritizedThreadPool.*;
|
|||
@Service
|
||||
public class TaskInfoServiceImpl extends ServiceImpl<TaskInfoMapper, TaskInfo> implements TaskInfoService {
|
||||
|
||||
private final Integer PAGE_SIZE = 5000;
|
||||
private final Integer PAGE_SIZE = 10000;
|
||||
|
||||
@Resource
|
||||
private TaskInfoMapper taskInfoMapper;
|
||||
|
|
|
@ -11,10 +11,10 @@ public class OptimizedPrioritizedThreadPool {
|
|||
private static final Semaphore lowPrioritySemaphore;
|
||||
private static final Semaphore emergencySemaphore;
|
||||
|
||||
private static final int totalThreads =40; // 固定线程池大小
|
||||
private static final int defaultHighThreads = 22;
|
||||
private static final int defaultMediumThreads = 12;
|
||||
private static final int defaultLowThreads = 6;
|
||||
private static final int totalThreads =50; // 固定线程池大小
|
||||
private static final int defaultHighThreads = 26;
|
||||
private static final int defaultMediumThreads = 15;
|
||||
private static final int defaultLowThreads = 9;
|
||||
|
||||
private static final int emergencyThreads = 21;
|
||||
private static final int emergencyHighThreads = 10;
|
||||
|
|
Loading…
Reference in New Issue