mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Logic fail on queue request.
This commit is contained in:
parent
d40979d173
commit
6e3ad7ad25
@ -2913,7 +2913,7 @@ static bool queue_request(struct thr_info *thr, bool needed)
|
|||||||
gettimeofday(&now, NULL);
|
gettimeofday(&now, NULL);
|
||||||
|
|
||||||
if (rq >= mining_threads + staged_clones &&
|
if (rq >= mining_threads + staged_clones &&
|
||||||
(now.tv_sec - requested_tv_sec) > opt_scantime * 2 / 3)
|
(now.tv_sec - requested_tv_sec) < opt_scantime * 2 / 3)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
/* fill out work request message */
|
/* fill out work request message */
|
||||||
|
Loading…
Reference in New Issue
Block a user