]> err.no Git - varnish/commitdiff
Try to connect to CLI 30 times rather than 10 to avoid some timeout errors.
authortfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 30 Jul 2008 12:18:57 +0000 (12:18 +0000)
committertfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 30 Jul 2008 12:18:57 +0000 (12:18 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3031 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishtest/vtc_varnish.c

index 09fecdacb3f0eb4f9c63253aa2cb8965eb350b95..b725339ddde8acbc3b0eefc9a5fe084017010c99 100644 (file)
@@ -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)