Browse Source

Bump threshhold for lag up to maximum queued but no staged work.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
e81a362b5f
  1. 3
      main.c

3
main.c

@ -3103,7 +3103,8 @@ retry:
ret = true; ret = true;
goto out; goto out;
} }
if (requested && requests_queued() > 1 && !pool_tset(pool, &pool->lagging)) { if (requested && requests_queued() >= opt_queue + mining_threads &&
!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",
pool->pool_no); pool->pool_no);
pool->localgen_occasions++; pool->localgen_occasions++;

Loading…
Cancel
Save