From: tfheen Date: Wed, 30 Jul 2008 12:18:57 +0000 (+0000) Subject: Try to connect to CLI 30 times rather than 10 to avoid some timeout errors. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d58454b024698ce348b495f486c329f02519210;p=varnish Try to connect to CLI 30 times rather than 10 to avoid some timeout errors. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3031 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishtest/vtc_varnish.c b/varnish-cache/bin/varnishtest/vtc_varnish.c index 09fecdac..b725339d 100644 --- a/varnish-cache/bin/varnishtest/vtc_varnish.c +++ b/varnish-cache/bin/varnishtest/vtc_varnish.c @@ -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)