From 21a36f4840b1f816364ca91e693619ae03266f08 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 16 Mar 2013 00:04:30 +1100 Subject: [PATCH] Connect backup stratum pools if the primary pool cannot deliver work. --- cgminer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cgminer.c b/cgminer.c index 6e47b43c..43fd63b0 100644 --- a/cgminer.c +++ b/cgminer.c @@ -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; }