From 1184e6446757db98aadaa611c4ad52cdbd02f478 Mon Sep 17 00:00:00 2001 From: Danielv123 Date: Sat, 28 Apr 2018 19:51:23 +0200 Subject: [PATCH] Attempt to be even more long command friendly --- client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.js b/client.js index d78140f3..f2c86308 100644 --- a/client.js +++ b/client.js @@ -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){