« get me outta code hell

sugar: queue: oh dear - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/common-util
diff options
context:
space:
mode:
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
commita0fa7dc53530beb9c8c51ffd2bf88ed169369f45 (patch)
tree51dba2e98494ae2474895585a1aa51d95c10b724 /src/common-util
parentb65799c809ec7badc9cdf051e3f5feb078a6ab20 (diff)
sugar: queue: oh dear
Diffstat (limited to 'src/common-util')
-rw-r--r--src/common-util/sugar.js4
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();
       }
     }
   };