From 1922e498e34f17ee743d7c57449b0decaf162842 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 10 Dec 2012 11:03:50 +1100 Subject: [PATCH] Only stratum pools that are idle need to be kicked via cnx_needed. --- cgminer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cgminer.c b/cgminer.c index deb541c9..58aeb2da 100644 --- a/cgminer.c +++ b/cgminer.c @@ -4507,8 +4507,8 @@ static bool cnx_needed(struct pool *pool) if (pool_strategy == POOL_LOADBALANCE) return true; - /* Idle pool needs something to kick it alive again */ - if (pool->idle) + /* Idle stratum pool needs something to kick it alive again */ + if (pool->has_stratum && pool->idle) return true; /* Getwork pools without opt_fail_only need backup pools up to be able