mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-23 04:54:26 +00:00
Clear the pool idle flag in stratum when it comes back to life.
This commit is contained in:
parent
7adb7a30e6
commit
5fcc8612b4
@ -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…
x
Reference in New Issue
Block a user