Browse Source

Check we are not lagging as well as there is enough work in getwork.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
8e20456bc0
  1. 2
      cgminer.c

2
cgminer.c

@ -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…
Cancel
Save