|
@@ -4075,7 +4075,7 @@ static struct pool *select_longpoll_pool(struct pool *cp)
|
|
|
*/
|
|
*/
|
|
|
static void wait_lpcurrent(struct pool *pool)
|
|
static void wait_lpcurrent(struct pool *pool)
|
|
|
{
|
|
{
|
|
|
- if (pool->enabled == POOL_REJECTING)
|
|
|
|
|
|
|
+ if (pool->enabled == POOL_REJECTING || pool_strategy == POOL_LOADBALANCE)
|
|
|
return;
|
|
return;
|
|
|
|
|
|
|
|
while (pool != current_pool()) {
|
|
while (pool != current_pool()) {
|