Browse Source

Only stratum pools that are idle need to be kicked via cnx_needed.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
1922e498e3
  1. 4
      cgminer.c

4
cgminer.c

@ -4507,8 +4507,8 @@ static bool cnx_needed(struct pool *pool) @@ -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

Loading…
Cancel
Save