mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Check we are not lagging as well as there is enough work in getwork.
This commit is contained in:
parent
00691ababf
commit
8e20456bc0
@ -2320,7 +2320,7 @@ static void *get_work_thread(void *userdata)
|
|||||||
|
|
||||||
applog(LOG_DEBUG, "Creating extra get work thread");
|
applog(LOG_DEBUG, "Creating extra get work thread");
|
||||||
|
|
||||||
if (enough_work())
|
if (!wc->lagging && enough_work())
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
ret_work = make_work();
|
ret_work = make_work();
|
||||||
|
Loading…
Reference in New Issue
Block a user