Increased default connectionTimeout to 10 minutes.

This commit is contained in:
Matt 2014-03-06 19:25:20 -07:00
parent f43a5833cf
commit 62b821337d

View File

@ -93,7 +93,7 @@ var pool = Stratum.createPool({
/* 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. */