mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 23:08:07 +00:00
Connect backup stratum pools if the primary pool cannot deliver work.
This commit is contained in:
parent
584fc013ab
commit
21a36f4840
@ -4899,6 +4899,8 @@ static bool cnx_needed(struct pool *pool)
|
|||||||
* it. */
|
* it. */
|
||||||
if (pool_strategy == POOL_FAILOVER && pool->prio < cp_prio())
|
if (pool_strategy == POOL_FAILOVER && pool->prio < cp_prio())
|
||||||
return true;
|
return true;
|
||||||
|
if (pool_unworkable(cp))
|
||||||
|
return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user