1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

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

This commit is contained in:
Con Kolivas 2012-05-06 14:24:50 +10:00
parent b85d7b5446
commit 848373d13b

View File

@ -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 */