From 02ab9867f0805f59a17deb4aea98ec2870ca2a95 Mon Sep 17 00:00:00 2001 From: Matt Date: Thu, 6 Mar 2014 19:25:12 -0700 Subject: [PATCH] Increased default connectionTimeout to 10 minutes. --- README.md | 2 +- pool_configs/litecoin_testnet_example.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0d23c3b..793d459 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,7 @@ Description of options: /* Some attackers will create thousands of workers that use up all available socket connections, usually the workers are zombies and don't submit shares after connecting. This features detects those and disconnects them. */ - "connectionTimeout": 120, //Remove workers that haven't been in contact for this many seconds + "connectionTimeout": 600, //Remove workers that haven't been in contact for this many seconds /* If a worker is submitting a good deal of invalid shares we can temporarily ban them to reduce system/network load. Also useful to fight against flooding attacks. */ diff --git a/pool_configs/litecoin_testnet_example.json b/pool_configs/litecoin_testnet_example.json index 8c62b49..45a579f 100644 --- a/pool_configs/litecoin_testnet_example.json +++ b/pool_configs/litecoin_testnet_example.json @@ -35,7 +35,7 @@ "address": "mi4iBXbBsydtcc5yFmsff2zCFVX4XG7qJc", "blockRefreshInterval": 1000, - "connectionTimeout": 120, + "connectionTimeout": 600, "banning": { "enabled": true,