mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 10:04:33 +00:00
In failover-only mode we need to queue enough work for the local pool and ignore the total queued count.
This commit is contained in:
parent
65f4e2af3e
commit
61003df49f
@ -3826,7 +3826,12 @@ bool queue_request(struct thr_info *thr, bool needed)
|
||||
pps = __pool_pending_staged(cp);
|
||||
mutex_unlock(stgd_lock);
|
||||
|
||||
if (pps && ps >= maxq) {
|
||||
if (opt_fail_only) {
|
||||
if (pps >= maxq) {
|
||||
ret = true;
|
||||
goto out;
|
||||
}
|
||||
} else if (pps && ps >= maxq) {
|
||||
ret = true;
|
||||
goto out;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user