1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-09 20:21:01 +00:00

Make sure we don't opt out of queueing more work if all the queued work is from one pool.

This commit is contained in:
Con Kolivas 2012-08-16 15:46:41 +10:00
parent a5f7b953fe
commit 6d1949e694

View File

@ -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;