Commit 2953aa25027fa62bf725b68811ed3f0ad3564dc8

Con Kolivas 2012-08-02T22:46:49

We dropped the temporary stopping of curl recruiting on submit_fail by mistake, reinstate it.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index ed19b3a..3a64b01 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);