From 301148ee788c1e513ac869cd30f34285c951a22c Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 11 Sep 2006 10:14:29 +0000 Subject: [PATCH] Avoid a startup-race git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@959 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_expire.c | 1 + 1 file changed, 1 insertion(+) diff --git a/varnish-cache/bin/varnishd/cache_expire.c b/varnish-cache/bin/varnishd/cache_expire.c index bccf5642..0699178c 100644 --- a/varnish-cache/bin/varnishd/cache_expire.c +++ b/varnish-cache/bin/varnishd/cache_expire.c @@ -112,6 +112,7 @@ exp_prefetch(void *arg) sp = SES_New(NULL, 0); XXXAN(sp); + sleep(10); /* Takes time for VCL to arrive */ sp->vcl = VCL_Get(); t = time(NULL); while (1) { -- 2.39.5