Browse Source

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

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

2
cgminer.c

@ -5843,7 +5843,7 @@ static void *watchpool_thread(void __maybe_unused *userdata) @@ -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)

Loading…
Cancel
Save