diff --git a/src/generator.c b/src/generator.c index c1ec4518..cc3657de 100644 --- a/src/generator.c +++ b/src/generator.c @@ -1970,6 +1970,7 @@ static void *proxy_recv(void *arg) /* Wait 30 seconds before declaring this upstream pool alive * to prevent switching to unstable pools. */ if (!alive && (!current_proxy(gdata) || time(NULL) - proxi->reconnect_time > 30)) { + reconnect_generator(ckp); LOGWARNING("Proxy %d:%s recovered", proxi->low_id, proxi->si->url); proxi->reconnect_time = 0; alive = true;