mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-27 06:54:36 +00:00
Increase watchdog sick time to longer than it takes for a pool to be detected dead.
This commit is contained in:
parent
f4d74116d3
commit
ccfa893577
@ -6443,7 +6443,7 @@ static void *watchpool_thread(void __maybe_unused *userdata)
|
||||
* the screen at regular intervals, and restarts threads if they appear to have
|
||||
* died. */
|
||||
#define WATCHDOG_INTERVAL 2
|
||||
#define WATCHDOG_SICK_TIME 60
|
||||
#define WATCHDOG_SICK_TIME 120
|
||||
#define WATCHDOG_DEAD_TIME 600
|
||||
#define WATCHDOG_SICK_COUNT (WATCHDOG_SICK_TIME/WATCHDOG_INTERVAL)
|
||||
#define WATCHDOG_DEAD_COUNT (WATCHDOG_DEAD_TIME/WATCHDOG_INTERVAL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user