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 12 years ago
parent
commit
08948e02f3
  1. 2
      cgminer.c

2
cgminer.c

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

Loading…
Cancel
Save