Browse Source

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

ckolivas 13 years ago
parent
commit
5fcc8612b4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cgminer.c

+ 1 - 0
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;
 		}