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:
goto out; goto out;
} }
if (!requests_staged()) { if (can_roll(work) && should_roll(work)) {
if (can_roll(work)) {
roll_work(work); roll_work(work);
ret = true; ret = true;
goto out; goto out;
} }
if (!requests_staged()) {
if (requested && requests_queued() >= mining_threads && if (requested && requests_queued() >= mining_threads &&
!pool_tset(pool, &pool->lagging)) { !pool_tset(pool, &pool->lagging)) {
applog(LOG_WARNING, "Pool %d not providing work fast enough", applog(LOG_WARNING, "Pool %d not providing work fast enough",

Loading…
Cancel
Save