From d0f28ec2d9d80f8ed68e4d5452a4ea67e1101738 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Tue, 26 Apr 2022 21:34:24 -0500 Subject: [PATCH] Storer bundles to memory before runningn pool --- build-lists.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build-lists.js b/build-lists.js index ce01a4e..c298bba 100644 --- a/build-lists.js +++ b/build-lists.js @@ -245,6 +245,11 @@ class BuildLists { const poolSize = 1000 + // Store app bundles to memory + await this.getSavedAppBundles({ + keepBundlesInMemory: true + }) + const { errors } = await PromisePool .withConcurrency( poolSize ) .for( Array.from( this.lists[listOptions.name] ) )