Increased rcon timeout to 20s, increased maxPending to 5

This commit is contained in:
Daniel Vestøl committed 2019-07-06 00:46:22 +02:00
1 parent f35be2f355
commit a122f2b09e
1 file changed
+2 -2
+2 -2
View File
@@ -365,8 +365,8 @@ write-data=${ path.resolve(config.instanceDirectory, instance) }\r\n
console.log(data);
if(data.includes("Starting RCON interface")){
let client = new Rcon({
packetResponseTimeout: 2000,
maxPending: 1
packetResponseTimeout: 20000,
maxPending: 5
});
client.connect({
host: 'localhost',