Clear the pool idle flag in stratum when it comes back to life.
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;
}