Commit b95f17303e749cbb1b4356fa6d24279dc662d2b6

Con Kolivas 2014-06-14T14:31:50

Clear the pool idle flag in the pool test thread

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/cgminer.c b/cgminer.c
index a798e60..6d45fca 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -8639,6 +8639,7 @@ retry:
 		if (unlikely(first_pool))
 			applog(LOG_NOTICE, "Switching to pool %d %s - first alive pool", pool->pool_no, pool->rpc_url);
 
+		pool_tclear(pool, &pool->idle);
 		pool_resus(pool);
 		switch_pools(NULL);
 	} else {