Merge branch 'beta' into pause

This commit is contained in:
JeLuF
2022-12-19 00:55:56 +01:00
committed by GitHub
11 changed files with 124 additions and 116 deletions

View File

@ -1107,7 +1107,7 @@
}
// Calling idle could result in task being added to queue.
if (task_queue.size <= 0 && concurrent_generators.size <= 0) {
return idleEventPromise.then(() => asyncDelay(IDLE_COOLDOWN))
return asyncDelay(IDLE_COOLDOWN).then(() => idleEventPromise)
}
}
if (task_queue.size < serverCapacity) {