Commit d2db7be54b41b8889daceac5fbc70d362ef254f6

Con Kolivas 2011-09-27T14:54:36

Roll any work we can even if other requests are staged.

diff --git a/main.c b/main.c
index fa4e8bc..a045af6 100644
--- a/main.c
+++ b/main.c
@@ -3818,12 +3818,13 @@ retry:
 		goto out;
 	}
 
+	if (can_roll(work) && should_roll(work)) {
+		roll_work(work);
+		ret = true;
+		goto out;
+	}
+
 	if (!requests_staged()) {
-		if (can_roll(work)) {
-			roll_work(work);
-			ret = true;
-			goto out;
-		}
 		if (requested && requests_queued() >= mining_threads &&
 		    !pool_tset(pool, &pool->lagging)) {
 			applog(LOG_WARNING, "Pool %d not providing work fast enough",