1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-05 11:34:16 +00:00

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

This commit is contained in:
Con Kolivas 2011-08-25 21:49:23 +10:00
parent 3d5f555407
commit 5b48881175

2
main.c
View File

@ -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++;