Browse Source

Only consider pool lagging if more than one item is queued.

nfactor-troky
Con Kolivas 14 years ago
parent
commit
5b48881175
  1. 2
      main.c

2
main.c

@ -3103,7 +3103,7 @@ retry: @@ -3103,7 +3103,7 @@ retry:
ret = true;
goto out;
}
if (requested && !pool_tset(pool, &pool->lagging)) {
if (requested && requests_queued() > 1 && !pool_tset(pool, &pool->lagging)) {
applog(LOG_WARNING, "Pool %d not providing work fast enough",
pool->pool_no);
pool->localgen_occasions++;

Loading…
Cancel
Save