Browse Source

In failover-only mode we need to queue enough work for the local pool and ignore the total queued count.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
61003df49f
  1. 7
      cgminer.c

7
cgminer.c

@ -3826,7 +3826,12 @@ bool queue_request(struct thr_info *thr, bool needed) @@ -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…
Cancel
Save