mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-05 11:34:16 +00:00
We dropped the temporary stopping of curl recruiting on submit_fail by mistake, reinstate it.
This commit is contained in:
parent
9410875e2f
commit
2953aa2502
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user