From bca4f1c2179ee87b5f3ca13106efcf77bc8b4bc0 Mon Sep 17 00:00:00 2001 From: Simon Smith Date: Fri, 15 Sep 2023 14:41:41 +0100 Subject: [PATCH] remove duplicate pendingTransfer++ --- db.js | 1 - 1 file changed, 1 deletion(-) diff --git a/db.js b/db.js index 36e95351..5a0dc6e5 100644 --- a/db.js +++ b/db.js @@ -3252,7 +3252,6 @@ module.exports.CreateDB = function (parent, func) { for (var i in docs) { obj.pendingTransfer++; eventRecordsTransferCount++; - for (var b in docs[i].ids) { if (docs[i].ids[b] != '*') { obj.pendingTransfer++; } } obj.StoreEvent(docs[i], function () { obj.pendingTransfer--; }); } }