From 61df3013a8f2f69ee9ed8b0dbca5edd065cd3d2d Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 22 Aug 2012 23:03:17 +1000 Subject: [PATCH] Ignore the submit_fail flag when deciding whether to recruit more curls or not since we have upper bounds on how many curls can be recruited, this test is redundant and can lead to problems. --- cgminer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgminer.c b/cgminer.c index 471ce3d1..9162e6ac 100644 --- a/cgminer.c +++ b/cgminer.c @@ -2227,7 +2227,7 @@ retry: if (!pool->curls) recruit_curl(pool); else if (list_empty(&pool->curlring)) { - if (pool->submit_fail || pool->curls >= curl_limit) { + if (pool->curls >= curl_limit) { pthread_cond_wait(&pool->cr_cond, &pool->pool_lock); goto retry; } else