Browse Source

stratum: force exit on pool auth failure

the miner was stuck instead of exiting after the retries...
master
Tanguy Pruvot 9 years ago
parent
commit
41707760f5
  1. 1
      ccminer.cpp

1
ccminer.cpp

@ -2324,6 +2324,7 @@ wait_stratum_url:
applog(LOG_ERR, "...terminating workio thread"); applog(LOG_ERR, "...terminating workio thread");
//tq_push(thr_info[work_thr_id].q, NULL); //tq_push(thr_info[work_thr_id].q, NULL);
workio_abort(); workio_abort();
proper_exit(EXIT_CODE_POOL_TIMEOUT);
goto out; goto out;
} }
} }

Loading…
Cancel
Save