1
0
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:
Con Kolivas 2013-03-16 00:04:30 +11:00
parent 584fc013ab
commit 21a36f4840

View File

@ -4899,6 +4899,8 @@ static bool cnx_needed(struct pool *pool)
* it. */
if (pool_strategy == POOL_FAILOVER && pool->prio < cp_prio())
return true;
if (pool_unworkable(cp))
return true;
return false;
}