Increased default connectionTimeout to 10 minutes.
This commit is contained in:
parent
f43a5833cf
commit
62b821337d
@ -93,7 +93,7 @@ var pool = Stratum.createPool({
|
|||||||
/* Some attackers will create thousands of workers that use up all available socket connections,
|
/* 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
|
usually the workers are zombies and don't submit shares after connecting. This features
|
||||||
detects those and disconnects them. */
|
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
|
/* 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. */
|
reduce system/network load. Also useful to fight against flooding attacks. */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user