mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Roll any work we can even if other requests are staged.
This commit is contained in:
parent
75e214349a
commit
d2db7be54b
5
main.c
5
main.c
@ -3818,12 +3818,13 @@ retry:
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!requests_staged()) {
|
if (can_roll(work) && should_roll(work)) {
|
||||||
if (can_roll(work)) {
|
|
||||||
roll_work(work);
|
roll_work(work);
|
||||||
ret = true;
|
ret = true;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!requests_staged()) {
|
||||||
if (requested && requests_queued() >= mining_threads &&
|
if (requested && requests_queued() >= mining_threads &&
|
||||||
!pool_tset(pool, &pool->lagging)) {
|
!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",
|
||||||
|
Loading…
Reference in New Issue
Block a user