1
0
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:
Con Kolivas 2012-02-09 22:40:33 +11:00
parent d40979d173
commit 6e3ad7ad25

View File

@ -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 */