From a0fa7dc53530beb9c8c51ffd2bf88ed169369f45 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 20 Jun 2025 11:46:58 -0300 Subject: sugar: queue: oh dear --- src/common-util/sugar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common-util') 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(); } } }; -- cgit 1.3.0-6-gf8a5