diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-06-20 11:46:58 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-06-20 11:46:58 -0300 |
commit | a0fa7dc53530beb9c8c51ffd2bf88ed169369f45 (patch) | |
tree | 51dba2e98494ae2474895585a1aa51d95c10b724 | |
parent | b65799c809ec7badc9cdf051e3f5feb078a6ab20 (diff) |
sugar: queue: oh dear
-rw-r--r-- | src/common-util/sugar.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common-util/sugar.js b/src/common-util/sugar.js index c7e15dd3..e931ad59 100644 --- a/src/common-util/sugar.js +++ b/src/common-util/sugar.js @@ -369,10 +369,10 @@ export function queue(functionList, queueSize = 50) { // has just resolved, we know there's none running at all right now, // and can start as many as specified in the queueSize right away. for (let i = 0; i < queueSize; i++) { - setTimeout(next); + next(); } } else { - setTimeout(next); + next(); } } }; |