From afd703a4950eb4ddafc7f9063aa85f5046961865 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 24 Jul 2017 12:57:26 +1000 Subject: [PATCH] Add a sleep back between calling proxy_alive to avoid hammering a temporarily misbehaving upstream connection. --- src/generator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/generator.c b/src/generator.c index 088a9989..7bd73ed7 100644 --- a/src/generator.c +++ b/src/generator.c @@ -2269,6 +2269,7 @@ static void *proxy_recv(void *arg) * the generator has been informed to reconnect * so we may as well serialise calls to * proxy_alive now */ + sleep(5); proxy_alive(ckp, proxi, &proxi->cs, true); } }