From a122f2b09e78a43e62fd87921c120be026010b10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Vest=C3=B8l?= Date: Sat, 6 Jul 2019 00:46:22 +0200 Subject: [PATCH] Increased rcon timeout to 20s, increased maxPending to 5 --- client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client.js b/client.js index 5c6222c7..a0413bb3 100644 --- a/client.js +++ b/client.js @@ -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',