mirror of
https://github.com/GOSTSec/sgminer
synced 2025-09-03 17:53:11 +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:
parent
a5f7b953fe
commit
6d1949e694
@ -2409,7 +2409,7 @@ static void *get_work_thread(void *userdata)
|
|||||||
mutex_unlock(stgd_lock);
|
mutex_unlock(stgd_lock);
|
||||||
|
|
||||||
if (((cs >= opt_queue || cq >= opt_queue) && ts >= maxq) ||
|
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())
|
clone_available())
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user