From bd4e94297955cacfda6054717a6e17a91dd8b303 Mon Sep 17 00:00:00 2001 From: Justin Langston Date: Mon, 24 Sep 2018 15:38:31 -0400 Subject: [PATCH] more large wallet handling --- packages/bitcore-node/src/models/walletAddress.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bitcore-node/src/models/walletAddress.ts b/packages/bitcore-node/src/models/walletAddress.ts index 6f2ac917448..e8c50975088 100644 --- a/packages/bitcore-node/src/models/walletAddress.ts +++ b/packages/bitcore-node/src/models/walletAddress.ts @@ -99,7 +99,7 @@ export class WalletAddress extends BaseModel { } }); await Promise.all( - partition(txUpdates, txUpdates.length/8).map(txUpdate => { + partition(txUpdates, txUpdates.length/16).map(txUpdate => { return TransactionModel.collection.bulkWrite(txUpdate, { ordered: false }); }) )