From ccfa893577a8d6d87d246ca2dd3335031e83f7a3 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 19 Jun 2013 13:20:25 +1000 Subject: [PATCH] Increase watchdog sick time to longer than it takes for a pool to be detected dead. --- cgminer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgminer.c b/cgminer.c index 059bddbd..bdb0be25 100644 --- a/cgminer.c +++ b/cgminer.c @@ -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)