Commit 79f4b570f736e3764d15a649d2127bd6ce5e6ca8

Con Kolivas 2012-06-14T15:58:18

Start longpoll from every pool when load balance strategy is in use.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index 3993499..64c29d7 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -4075,7 +4075,7 @@ static struct pool *select_longpoll_pool(struct pool *cp)
  */
 static void wait_lpcurrent(struct pool *pool)
 {
-	if (pool->enabled == POOL_REJECTING)
+	if (pool->enabled == POOL_REJECTING || pool_strategy == POOL_LOADBALANCE)
 		return;
 
 	while (pool != current_pool()) {