mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
fix: manage queue after space available
This commit is contained in:
1 parent
9b855fca47
commit
1f333f6b88
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -27,7 +27,7 @@ readdir('src/workers').then((workers) => {
|
||||
|
||||
bundle: true,
|
||||
sourcemap: true,
|
||||
minifyIdentifiers: false, // cause goofy errors
|
||||
minifyIdentifiers: false, // causes goofy errors
|
||||
minifySyntax: true,
|
||||
minifyWhitespace: true,
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ async function manageQueue() {
|
||||
|
||||
setTimeout(() => {
|
||||
inProgress--;
|
||||
manageQueue();
|
||||
}, 1000);
|
||||
|
||||
const { url, resolve } = queue.shift()!;
|
||||
|
||||
Reference in new issue
Block a user