mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Don't try to reap curls if benchmarking is enabled.
This commit is contained in:
parent
614328352c
commit
852f6a0eb0
@ -4058,7 +4058,8 @@ static void *watchpool_thread(void __maybe_unused *userdata)
|
|||||||
for (i = 0; i < total_pools; i++) {
|
for (i = 0; i < total_pools; i++) {
|
||||||
struct pool *pool = pools[i];
|
struct pool *pool = pools[i];
|
||||||
|
|
||||||
reap_curl(pool);
|
if (!opt_benchmark)
|
||||||
|
reap_curl(pool);
|
||||||
if (!pool->enabled)
|
if (!pool->enabled)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user