Browse Source

Only set the lagging flag for select_pool() on failed getwork if we're not in opt_fail_only mode.

Con Kolivas 13 years ago
parent
commit
c5d9f3ac60
1 changed files with 1 additions and 2 deletions
  1. 1 2
      cgminer.c

+ 1 - 2
cgminer.c

@@ -6845,7 +6845,7 @@ retry:
 				pool_died(pool);
 			sleep(5);
 			push_curl_entry(ce, pool);
-			pool = select_pool(true);
+			pool = select_pool(!opt_fail_only);
 			goto retry;
 		}
 		if (ts >= max_staged)
@@ -6860,4 +6860,3 @@ retry:
 
 	return 0;
 }
-