Browse Source

Only set the lagging flag for select_pool() on failed getwork if we're not in opt_fail_only mode.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
c5d9f3ac60
  1. 3
      cgminer.c

3
cgminer.c

@ -6845,7 +6845,7 @@ retry: @@ -6845,7 +6845,7 @@ retry:
pool_died(pool);
sleep(5);
push_curl_entry(ce, pool);
pool = select_pool(true);
pool = select_pool(!opt_fail_only);
goto retry;
}
if (ts >= max_staged)
@ -6860,4 +6860,3 @@ retry: @@ -6860,4 +6860,3 @@ retry:
return 0;
}

Loading…
Cancel
Save