Commit 0e56dffd9233ced418ad0353a41b42b96e309fb7

Con Kolivas 2012-08-16T17:01:25

Only queue from backup pools once we have nothing staged.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index 1449617..e6a694b 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -2424,7 +2424,7 @@ static void *get_work_thread(void *userdata)
 	else {
 		bool lagging;
 
-		if (ts <= opt_queue)
+		if (!ts)
 			lagging = true;
 		pool = ret_work->pool = select_pool(lagging);
 		inc_queued(pool);