mirror of
https://github.com/GOSTSec/sgminer
synced 2025-09-10 05:02:34 +00:00
Check if there is more than one work item queued before complaining about a slow pool.
This commit is contained in:
parent
dbf0a1366d
commit
73c98e1e79
2
main.c
2
main.c
@ -3095,7 +3095,7 @@ retry:
|
|||||||
ret = true;
|
ret = true;
|
||||||
goto out;
|
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",
|
applog(LOG_WARNING, "Pool %d not providing work fast enough",
|
||||||
pool->pool_no);
|
pool->pool_no);
|
||||||
pool->localgen_occasions++;
|
pool->localgen_occasions++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user