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

Only set the lagging flag for select_pool() on failed getwork if we're not in opt_fail_only mode.

This commit is contained in:
Con Kolivas 2012-12-10 10:32:21 +11:00
parent 43be78cca5
commit c5d9f3ac60

View File

@ -6845,7 +6845,7 @@ retry:
pool_died(pool); pool_died(pool);
sleep(5); sleep(5);
push_curl_entry(ce, pool); push_curl_entry(ce, pool);
pool = select_pool(true); pool = select_pool(!opt_fail_only);
goto retry; goto retry;
} }
if (ts >= max_staged) if (ts >= max_staged)
@ -6860,4 +6860,3 @@ retry:
return 0; return 0;
} }