Make sure we don't opt out of queueing more work if all the queued work is from one pool.
diff --git a/cgminer.c b/cgminer.c
index 847b084..a39a83b 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;