Generically increase the queue if we are mining on a pool without local work generation each time we run out of work.
diff --git a/cgminer.c b/cgminer.c
index dd56527..e07aa90 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -8282,6 +8282,8 @@ begin_bench:
applog(LOG_WARNING, "Pool %d not providing work fast enough", cp->pool_no);
cp->getfail_occasions++;
total_go++;
+ if (!pool_localgen(cp))
+ applog(LOG_INFO, "Increasing queue to %d", ++opt_queue);
}
pool = select_pool(lagging);
retry: