Storer bundles to memory before runningn pool

This commit is contained in:
Sam Carlton 2022-04-26 21:34:24 -05:00
parent d4e5f1cdd1
commit d0f28ec2d9

View file

@ -245,6 +245,11 @@ class BuildLists {
const poolSize = 1000 const poolSize = 1000
// Store app bundles to memory
await this.getSavedAppBundles({
keepBundlesInMemory: true
})
const { errors } = await PromisePool const { errors } = await PromisePool
.withConcurrency( poolSize ) .withConcurrency( poolSize )
.for( Array.from( this.lists[listOptions.name] ) ) .for( Array.from( this.lists[listOptions.name] ) )