Increased default connectionTimeout to 10 minutes.

This commit is contained in:
Matt 2014-03-06 19:25:12 -07:00
parent 839ed52218
commit 02ab9867f0
2 changed files with 2 additions and 2 deletions

View File

@ -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. */

View File

@ -35,7 +35,7 @@
"address": "mi4iBXbBsydtcc5yFmsff2zCFVX4XG7qJc",
"blockRefreshInterval": 1000,
"connectionTimeout": 120,
"connectionTimeout": 600,
"banning": {
"enabled": true,