Commit 8ed381f78a96dc8ca08023be4c1024c4bcb7866c

Con Kolivas 2012-08-21T19:47:30

Only set lagging flag once there are no staged work items.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index a220e6e..89db177 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -2417,7 +2417,7 @@ retry:
 		ret_work->queued = true;
 	} else {
 
-		if (ts <= opt_queue)
+		if (!ts)
 			lagging = true;
 		pool = ret_work->pool = select_pool(lagging);