Browse Source

Ensure we test for a pool recovering from idle so long as it's not set to disabled.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
848373d13b
  1. 2
      cgminer.c

2
cgminer.c

@ -4131,7 +4131,7 @@ static void *watchpool_thread(void __maybe_unused *userdata) @@ -4131,7 +4131,7 @@ static void *watchpool_thread(void __maybe_unused *userdata)
if (!opt_benchmark)
reap_curl(pool);
if (pool->enabled != POOL_ENABLED)
if (pool->enabled == POOL_DISABLED)
continue;
/* Test pool is idle once every minute */

Loading…
Cancel
Save