1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-05 03:24:26 +00:00

get_work never returns false so get rid of fail pause loop.

This commit is contained in:
Con Kolivas 2012-08-20 10:54:59 +10:00
parent 4df9c387f0
commit 260b1c87c0

View File

@ -4082,13 +4082,6 @@ retry:
ret = true;
out:
if (unlikely(ret == false)) {
applog(LOG_DEBUG, "Retrying after %d seconds", fail_pause);
sleep(fail_pause);
fail_pause += opt_fail_pause;
goto retry;
}
fail_pause = opt_fail_pause;
work->thr_id = thr_id;
thread_reportin(thr);