From b10982597a6641f917de6fad01f9dcaa14738b7a Mon Sep 17 00:00:00 2001 From: dholms Date: Wed, 8 Nov 2023 20:59:04 -0600 Subject: [PATCH] lower 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 5cd4969a775..f043d3cca6d 100644 --- a/packages/pds/src/migrate-script/migrate-all.ts +++ b/packages/pds/src/migrate-script/migrate-all.ts @@ -40,7 +40,7 @@ export const runScript = async () => { console.log('migrating: ', todo.length) - const migrateQueue = new PQueue({ concurrency: 100 }) + const migrateQueue = new PQueue({ concurrency: 80 }) process.on('SIGINT', async () => { migrateQueue.clear() console.log(`waiting on ${migrateQueue.pending} to finish`)