1
0
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:
Con Kolivas 2012-05-03 22:39:12 +10:00
parent 614328352c
commit 852f6a0eb0

View File

@ -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;