mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-13 06:01:03 +00:00
get_work never returns false so get rid of fail pause loop.
This commit is contained in:
parent
4df9c387f0
commit
260b1c87c0
@ -4082,13 +4082,6 @@ retry:
|
|||||||
|
|
||||||
ret = true;
|
ret = true;
|
||||||
out:
|
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;
|
work->thr_id = thr_id;
|
||||||
thread_reportin(thr);
|
thread_reportin(thr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user