From d37d044fb7b34e437e34315f5ae5e3cc443c289a Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 1 Aug 2012 20:05:30 +1000 Subject: [PATCH] Add some headroom to the number of curls available per pool to allow for longpoll and sendwork curls. --- cgminer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgminer.c b/cgminer.c index 0de93f04..0cc3fc05 100644 --- a/cgminer.c +++ b/cgminer.c @@ -2169,7 +2169,7 @@ static void recruit_curl(struct pool *pool) * network delays/outages. */ static struct curl_ent *pop_curl_entry(struct pool *pool) { - int curl_limit = opt_delaynet ? 5 : mining_threads; + int curl_limit = opt_delaynet ? 5 : mining_threads * 4 / 3; struct curl_ent *ce; mutex_lock(&pool->pool_lock);