Browse Source

Merge commit '1922e49' into cg_merges_20121210

Luke Dashjr 13 years ago
parent
commit
b054e59119
1 changed files with 2 additions and 2 deletions
  1. 2 2
      miner.c

+ 2 - 2
miner.c

@@ -5468,8 +5468,8 @@ static bool cnx_needed(struct pool *pool)
 	if (pool_strategy == POOL_LOADBALANCE)
 	if (pool_strategy == POOL_LOADBALANCE)
 		return true;
 		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;
 		return true;
 
 
 	/* Getwork pools without opt_fail_only need backup pools up to be able
 	/* Getwork pools without opt_fail_only need backup pools up to be able