1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 20:44:19 +00:00

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

This commit is contained in:
ckolivas 2012-10-16 14:56:50 +11:00
parent 7adb7a30e6
commit 5fcc8612b4

View File

@ -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;
}