Commit b571db1a authored by Tollef Fog Heen's avatar Tollef Fog Heen

Try to connect to CLI 30 times rather than 10 to avoid some timeout errors.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3031 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 7e1b629f
......@@ -222,7 +222,7 @@ varnish_launch(struct varnish *v)
AZ(pthread_create(&v->tp, NULL, varnish_thread, v));
vtc_log(v->vl, 3, "opening CLI connection");
for (i = 0; i < 10; i++) {
for (i = 0; i < 30; i++) {
(void)usleep(200000);
v->cli_fd = VSS_open(v->telnet);
if (v->cli_fd >= 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment