Attempt to be even more long command friendly

This commit is contained in:
Danielv123 committed 2018-04-28 19:51:23 +02:00
1 parent 02ab34dbf4
commit 1184e64467
1 file changed
+1 -1
+1 -1
View File
@@ -833,7 +833,7 @@ function instanceManagement() {
// console.log("Importing " + confirmedOrders.length + " items! " + JSON.stringify(confirmedOrders));
let itemCount = confirmedOrders.length;
if(itemCount > 0){
let numberOfFragments = Math.floor(itemCount*20/2000); // 20 is approximate length of items, 2000 is maximum length we want to send at a time
let numberOfFragments = Math.floor(itemCount*50/2000); // 50 is approximate length of items, 2000 is maximum length we want to send at a time
let exportedCount = 0;
let exportFragment = [];
while(exportedCount < itemCount){