mirror of
https://github.com/GOSTSec/ccminer
synced 2025-02-03 18:34:41 +00:00
stratum: check if we have multiple pools to failover
This commit is contained in:
parent
e99ff6c15b
commit
75d721adb9
@ -2274,7 +2274,7 @@ wait_stratum_url:
|
|||||||
{
|
{
|
||||||
stratum_disconnect(&stratum);
|
stratum_disconnect(&stratum);
|
||||||
if (opt_retries >= 0 && ++failures > opt_retries) {
|
if (opt_retries >= 0 && ++failures > opt_retries) {
|
||||||
if (opt_pool_failover) {
|
if (num_pools > 1 && opt_pool_failover) {
|
||||||
applog(LOG_WARNING, "Stratum connect timeout, failover...");
|
applog(LOG_WARNING, "Stratum connect timeout, failover...");
|
||||||
pool_switch_next();
|
pool_switch_next();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user