mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-23 13:04:29 +00:00
Bump threshhold for lag up to maximum queued but no staged work.
This commit is contained in:
parent
5b48881175
commit
e81a362b5f
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…
x
Reference in New Issue
Block a user