master
parent
e25fe74342
commit
7cf44a897e
|
@ -161,7 +161,7 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, Task>
|
|||
// 总条数 最大线程数/分配条数 >100W 5/100000 >10W 8/10000 <10W 8/1000
|
||||
int pageSize = 10000;
|
||||
int taskNum = 8;
|
||||
if (count > 80000000){
|
||||
if (count > 8000000){
|
||||
pageSize = 100000;
|
||||
taskNum = 5;
|
||||
}else if (count < 100000){
|
||||
|
|
Loading…
Reference in New Issue