From c892ded6e0d0efa760b8fc340d97756ab4ccb288 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 12 Aug 2012 10:40:58 +1000 Subject: [PATCH] Make sure there are true pending staged work items as well in failover only mode. --- cgminer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgminer.c b/cgminer.c index 057552ad..137dfc23 100644 --- a/cgminer.c +++ b/cgminer.c @@ -3827,7 +3827,7 @@ bool queue_request(struct thr_info *thr, bool needed) mutex_unlock(stgd_lock); if (opt_fail_only) { - if (pps >= maxq) { + if (pps >= maxq && ps) { ret = true; goto out; }