From 3a018d8156307f14129ae80cd58a811a3de74b50 Mon Sep 17 00:00:00 2001 From: dholms Date: Tue, 7 Nov 2023 19:33:49 -0600 Subject: [PATCH] increase concurrency --- packages/pds/src/migrate-script/migrate-all.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pds/src/migrate-script/migrate-all.ts b/packages/pds/src/migrate-script/migrate-all.ts index 782e545e3d8..2fc2b82a6c2 100644 --- a/packages/pds/src/migrate-script/migrate-all.ts +++ b/packages/pds/src/migrate-script/migrate-all.ts @@ -55,7 +55,7 @@ export const runScript = async () => { let pdsCounter = 0 let completed = 0 let failed = 0 - const migrateQueue = new PQueue({ concurrency: 20 }) + const migrateQueue = new PQueue({ concurrency: 40 }) for (const status of todo) { if (!status.pdsId) { status.pdsId = pdsInfos[pdsCounter % pdsInfos.length].id