mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Storer bundles to memory before runningn pool
This commit is contained in:
parent
d4e5f1cdd1
commit
d0f28ec2d9
1 changed files with 5 additions and 0 deletions
|
|
@ -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] ) )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue