Browse Source

Add a sleep back between calling proxy_alive to avoid hammering a temporarily misbehaving upstream connection.

master
Con Kolivas 7 years ago
parent
commit
afd703a495
  1. 1
      src/generator.c

1
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);
}
}

Loading…
Cancel
Save