From c415a6b180fe331eb2923204968d5da9c523bf98 Mon Sep 17 00:00:00 2001 From: nolash Date: Thu, 18 Feb 2021 14:30:42 +0100 Subject: [PATCH] Add date of birth generation --- apps/contract-migration/scripts/import_meta.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/contract-migration/scripts/import_meta.js b/apps/contract-migration/scripts/import_meta.js index e35f3254..6bca8e58 100644 --- a/apps/contract-migration/scripts/import_meta.js +++ b/apps/contract-migration/scripts/import_meta.js @@ -74,7 +74,7 @@ new cic.PGPKeyStore( importMeta, ); -const batchSize = 4; +const batchSize = 50; const batchDelay = 1000; const total = parseInt(process.argv[3]); const workDir = path.join(process.argv[2], 'meta'); @@ -103,7 +103,6 @@ function importMeta(keystore) { console.debug('skipping file', file); } const filePath = path.join(workDir, file); - //console.log('file', count, filePath); doOne(keystore, filePath); count++; batchCount++;