|
|
@ -5440,6 +5440,7 @@ static void *stratum_rthread(void *userdata) |
|
|
|
if (!restart_stratum(pool)) { |
|
|
|
if (!restart_stratum(pool)) { |
|
|
|
pool_died(pool); |
|
|
|
pool_died(pool); |
|
|
|
while (!restart_stratum(pool)) { |
|
|
|
while (!restart_stratum(pool)) { |
|
|
|
|
|
|
|
pool_failed(pool); |
|
|
|
if (pool->removed) |
|
|
|
if (pool->removed) |
|
|
|
goto out; |
|
|
|
goto out; |
|
|
|
cgsleep_ms(30000); |
|
|
|
cgsleep_ms(30000); |
|
|
@ -5480,6 +5481,7 @@ static void *stratum_rthread(void *userdata) |
|
|
|
|
|
|
|
|
|
|
|
pool_died(pool); |
|
|
|
pool_died(pool); |
|
|
|
while (!restart_stratum(pool)) { |
|
|
|
while (!restart_stratum(pool)) { |
|
|
|
|
|
|
|
pool_failed(pool); |
|
|
|
if (pool->removed) |
|
|
|
if (pool->removed) |
|
|
|
goto out; |
|
|
|
goto out; |
|
|
|
cgsleep_ms(30000); |
|
|
|
cgsleep_ms(30000); |
|
|
|