Browse Source

Increase curl reaping time to 5 minutes since comms between curl requests can be 2 mins apart with lots of rolltime.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
08948e02f3
  1. 2
      cgminer.c

2
cgminer.c

@ -4553,7 +4553,7 @@ static void reap_curl(struct pool *pool) @@ -4553,7 +4553,7 @@ static void reap_curl(struct pool *pool)
list_for_each_entry_safe(ent, iter, &pool->curlring, node) {
if (pool->curls < 2)
break;
if (now.tv_sec - ent->tv.tv_sec > 60) {
if (now.tv_sec - ent->tv.tv_sec > 300) {
reaped++;
pool->curls--;
list_del(&ent->node);

Loading…
Cancel
Save