Browse Source

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

nfactor-troky
Con Kolivas 13 years ago
parent
commit
d2db7be54b
  1. 5
      main.c

5
main.c

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

Loading…
Cancel
Save