From 2953aa25027fa62bf725b68811ed3f0ad3564dc8 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 2 Aug 2012 22:46:49 +1000 Subject: [PATCH] We dropped the temporary stopping of curl recruiting on submit_fail by mistake, reinstate it. --- cgminer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgminer.c b/cgminer.c index ed19b3a4..3a64b014 100644 --- a/cgminer.c +++ b/cgminer.c @@ -2176,7 +2176,7 @@ static struct curl_ent *pop_curl_entry(struct pool *pool) if (!pool->curls) recruit_curl(pool); else if (list_empty(&pool->curlring)) { - if (pool->curls >= curl_limit) + if (pool->submit_fail || pool->curls >= curl_limit) pthread_cond_wait(&pool->cr_cond, &pool->pool_lock); else recruit_curl(pool);