mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-24 16:23:12 +09:00
Increased rcon timeout to 20s, increased maxPending to 5
This commit is contained in:
1 parent
f35be2f355
commit
a122f2b09e
1 file changed
+2
-2
@@ -365,8 +365,8 @@ write-data=${ path.resolve(config.instanceDirectory, instance) }\r\n
|
|||||||
console.log(data);
|
console.log(data);
|
||||||
if(data.includes("Starting RCON interface")){
|
if(data.includes("Starting RCON interface")){
|
||||||
let client = new Rcon({
|
let client = new Rcon({
|
||||||
packetResponseTimeout: 2000,
|
packetResponseTimeout: 20000,
|
||||||
maxPending: 1
|
maxPending: 5
|
||||||
});
|
});
|
||||||
client.connect({
|
client.connect({
|
||||||
host: 'localhost',
|
host: 'localhost',
|
||||||
|
|||||||
Reference in new issue
Block a user