1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 23:08:07 +00:00

Roll any work we can even if other requests are staged.

This commit is contained in:
Con Kolivas 2011-09-27 14:54:36 +10:00
parent 75e214349a
commit d2db7be54b

11
main.c
View File

@ -3818,12 +3818,13 @@ retry:
goto out;
}
if (can_roll(work) && should_roll(work)) {
roll_work(work);
ret = true;
goto out;
}
if (!requests_staged()) {
if (can_roll(work)) {
roll_work(work);
ret = true;
goto out;
}
if (requested && requests_queued() >= mining_threads &&
!pool_tset(pool, &pool->lagging)) {
applog(LOG_WARNING, "Pool %d not providing work fast enough",