Stop miners instantly when losing pool connection
This commit is contained in:
parent
d5ac9addfe
commit
df99eea69d
@ -141,6 +141,8 @@ void runStratumWorker(void *name) {
|
||||
|
||||
if(!isMinerSuscribed){
|
||||
|
||||
//Stop miner current jobs
|
||||
mMiner.inRun = false;
|
||||
mWorker = init_mining_subscribe();
|
||||
|
||||
// STEP 1: Pool server connection (SUBSCRIBE)
|
||||
|
Loading…
Reference in New Issue
Block a user