Commit 5fcc8612b4af493784935969fe0e9487bf2f550c

ckolivas 2012-10-16T14:56:50

Clear the pool idle flag in stratum when it comes back to life.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/cgminer.c b/cgminer.c
index 1385a56..ca0a92b 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -4287,6 +4287,7 @@ static void *stratum_thread(void *userdata)
 				sleep(30);
 			}
 			applog(LOG_INFO, "Stratum connection to pool %d resumed", pool->pool_no);
+			pool_tclear(pool, &pool->idle);
 			pool_resus(pool);
 			continue;
 		}