Commit 08948e02f3a205a28c0427925711e9a1e150b840

Con Kolivas 2012-08-20T13:33:08

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

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index 31bd4df..e8a3715 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -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);