Made factorio command ratelimiting configurable

This commit is contained in:
Danielv123 committed 2018-05-07 18:11:46 +02:00
1 parent ac55b1c442
commit 0b81fb6351
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -645,7 +645,7 @@ function instanceManagement() {
}); });
// messageInterface Management // messageInterface Management
setInterval(function(){let command=commandBuffer.pop();if(command){messageInterfaceInternal(command[0],command[1])}},50); setInterval(function(){let command=commandBuffer.pop();if(command){messageInterfaceInternal(command[0],command[1])}},config.msBetweenCommands || 50);
// Mod uploading and management ----------------------------------------------- // Mod uploading and management -----------------------------------------------
// get mod names and hashes // get mod names and hashes
+1
View File
@@ -37,5 +37,6 @@
}, },
"logItemTransfers": false, "logItemTransfers": false,
"uploadModsToMaster": true, "uploadModsToMaster": true,
"msBetweenCommands": 10,
"allowRemoteCommandExecution": false "allowRemoteCommandExecution": false
} }