mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 12:34:27 +00:00
Generically increase the queue if we are mining on a pool without local work generation each time we run out of work.
This commit is contained in:
parent
5167962840
commit
3323f9f9bf
@ -8101,6 +8101,8 @@ begin_bench:
|
|||||||
applog(LOG_WARNING, "%s not providing work fast enough", cp->poolname);
|
applog(LOG_WARNING, "%s not providing work fast enough", cp->poolname);
|
||||||
cp->getfail_occasions++;
|
cp->getfail_occasions++;
|
||||||
total_go++;
|
total_go++;
|
||||||
|
if (!pool_localgen(cp))
|
||||||
|
applog(LOG_INFO, "Increasing queue to %d", ++opt_queue);
|
||||||
}
|
}
|
||||||
pool = select_pool(lagging);
|
pool = select_pool(lagging);
|
||||||
retry:
|
retry:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user