1
0
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:
Con Kolivas 2014-01-23 23:57:12 +11:00 committed by Noel Maersk
parent 5167962840
commit 3323f9f9bf

View File

@ -8101,6 +8101,8 @@ begin_bench:
applog(LOG_WARNING, "%s not providing work fast enough", cp->poolname);
cp->getfail_occasions++;
total_go++;
if (!pool_localgen(cp))
applog(LOG_INFO, "Increasing queue to %d", ++opt_queue);
}
pool = select_pool(lagging);
retry: