mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 07:04:53 +09:00
Attempt to be even more long command friendly
This commit is contained in:
1 parent
02ab34dbf4
commit
1184e64467
1 file changed
+1
-1
@@ -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){
|
||||
|
||||
Reference in new issue
Block a user