From 8ed381f78a96dc8ca08023be4c1024c4bcb7866c Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 21 Aug 2012 19:47:30 +1000 Subject: [PATCH] Only set lagging flag once there are no staged work items. --- cgminer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgminer.c b/cgminer.c index a220e6e3..89db177f 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);