Browse Source

Make sure there are true pending staged work items as well in failover only mode.

Con Kolivas 13 years ago
parent
commit
c892ded6e0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cgminer.c

+ 1 - 1
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;
 		}