Compare commits
No commits in common. "f911f9e0c16fb3b89ec5cc123622ada614a7e2e3" and "d745ad7318aae32a977e97385de36bef0b9e141a" have entirely different histories.
f911f9e0c1
...
d745ad7318
|
@ -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