mirror of
https://github.com/GOSTSec/sgminer
synced 2025-08-26 05:41:55 +00:00
Start longpoll from every pool when load balance strategy is in use.
This commit is contained in:
parent
dbe9056df4
commit
79f4b570f7
@ -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()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user