Commit d9d5a1a0b6fce693acc0edb65fc6e5d054c589c3

Con Kolivas 2013-02-25T09:15:20

Speed up watchdog interval and therefore display updates to 2 seconds.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index 0ec9d54..6980988 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -5843,7 +5843,7 @@ static void *watchpool_thread(void __maybe_unused *userdata)
 /* Makes sure the hashmeter keeps going even if mining threads stall, updates
  * the screen at regular intervals, and restarts threads if they appear to have
  * died. */
-#define WATCHDOG_INTERVAL		3
+#define WATCHDOG_INTERVAL		2
 #define WATCHDOG_SICK_TIME		60
 #define WATCHDOG_DEAD_TIME		600
 #define WATCHDOG_SICK_COUNT		(WATCHDOG_SICK_TIME/WATCHDOG_INTERVAL)