From: phk Date: Tue, 4 Jul 2006 13:45:16 +0000 (+0000) Subject: Shorter sleeps: 1s -> 50msec X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c310c05900bee5d68991595246781ca3b354b5a2;p=varnish Shorter sleeps: 1s -> 50msec git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@296 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishlog/varnishlog.c b/varnish-cache/bin/varnishlog/varnishlog.c index 63cdb378..f584325e 100644 --- a/varnish-cache/bin/varnishlog/varnishlog.c +++ b/varnish-cache/bin/varnishlog/varnishlog.c @@ -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) {