Browse Source

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

nfactor-troky
ckolivas 12 years ago
parent
commit
5fcc8612b4
  1. 1
      cgminer.c

1
cgminer.c

@ -4287,6 +4287,7 @@ static void *stratum_thread(void *userdata)
sleep(30); sleep(30);
} }
applog(LOG_INFO, "Stratum connection to pool %d resumed", pool->pool_no); applog(LOG_INFO, "Stratum connection to pool %d resumed", pool->pool_no);
pool_tclear(pool, &pool->idle);
pool_resus(pool); pool_resus(pool);
continue; continue;
} }

Loading…
Cancel
Save