uat_us
parent
1e5d751cc2
commit
8c41b117ae
|
@ -16,9 +16,9 @@ async function executeTask() {
|
|||
stopTaskTimer()
|
||||
if (taskPool.length > 0) {
|
||||
// let startSortTime = performance.now()
|
||||
if( sortType ){
|
||||
maxRequest = 6
|
||||
}
|
||||
// if( sortType ){
|
||||
// maxRequest = 6
|
||||
// }
|
||||
// let endSortTime = performance.now()
|
||||
var requestNum = Math.min(taskPool.length, maxRequest)
|
||||
const tasks = taskPool.splice(0, requestNum);
|
||||
|
|
Loading…
Reference in New Issue