mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 23:08:07 +00:00
Roll any work we can even if other requests are staged.
This commit is contained in:
parent
75e214349a
commit
d2db7be54b
11
main.c
11
main.c
@ -3818,12 +3818,13 @@ retry:
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (can_roll(work) && should_roll(work)) {
|
||||
roll_work(work);
|
||||
ret = true;
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (!requests_staged()) {
|
||||
if (can_roll(work)) {
|
||||
roll_work(work);
|
||||
ret = true;
|
||||
goto out;
|
||||
}
|
||||
if (requested && requests_queued() >= mining_threads &&
|
||||
!pool_tset(pool, &pool->lagging)) {
|
||||
applog(LOG_WARNING, "Pool %d not providing work fast enough",
|
||||
|
Loading…
Reference in New Issue
Block a user