mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-14 16:24:59 -05:00
remove duplicate pendingTransfer++
This commit is contained in:
parent
53a96fb26b
commit
bca4f1c217
1
db.js
1
db.js
@ -3252,7 +3252,6 @@ module.exports.CreateDB = function (parent, func) {
|
|||||||
for (var i in docs) {
|
for (var i in docs) {
|
||||||
obj.pendingTransfer++;
|
obj.pendingTransfer++;
|
||||||
eventRecordsTransferCount++;
|
eventRecordsTransferCount++;
|
||||||
for (var b in docs[i].ids) { if (docs[i].ids[b] != '*') { obj.pendingTransfer++; } }
|
|
||||||
obj.StoreEvent(docs[i], function () { obj.pendingTransfer--; });
|
obj.StoreEvent(docs[i], function () { obj.pendingTransfer--; });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user