Browse Source

Connect backup stratum pools if the primary pool cannot deliver work.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
21a36f4840
  1. 2
      cgminer.c

2
cgminer.c

@ -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…
Cancel
Save