]> err.no Git - varnish/commitdiff
Shorter sleeps: 1s -> 50msec
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 4 Jul 2006 13:45:16 +0000 (13:45 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 4 Jul 2006 13:45:16 +0000 (13:45 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@296 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishlog/varnishlog.c

index 63cdb3787217fd5b2622ee00a4ead136ba197615..f584325eed812e98aa97400b1ccaaf8a3b28aaca 100644 (file)
@@ -135,7 +135,7 @@ main(int argc, char **argv)
                p = VSL_NextLog(loghead, &q);
                if (p == NULL) {
                        fflush(stdout);
-                       sleep(1);
+                       usleep(50000);
                        continue;
                }
                if (o_flag) {