Browse Source

Increase watchdog sick time to longer than it takes for a pool to be detected dead.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
ccfa893577
  1. 2
      cgminer.c

2
cgminer.c

@ -6443,7 +6443,7 @@ static void *watchpool_thread(void __maybe_unused *userdata) @@ -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…
Cancel
Save