From 6d1949e69452f5b3d9f1dc099ce38bd8a743da46 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 16 Aug 2012 15:46:41 +1000 Subject: [PATCH] Make sure we don't opt out of queueing more work if all the queued work is from one pool. --- cgminer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgminer.c b/cgminer.c index 847b084c..a39a83bc 100644 --- a/cgminer.c +++ b/cgminer.c @@ -2409,7 +2409,7 @@ static void *get_work_thread(void *userdata) mutex_unlock(stgd_lock); if (((cs >= opt_queue || cq >= opt_queue) && ts >= maxq) || - ((cs >= opt_queue || cq >= opt_queue) && tq >= maxq) || + ((cs >= opt_queue || cq >= opt_queue) && tq >= maxq && cq < maxq) || clone_available()) goto out;