Commit 7082e1bf authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Avoid a startup-race


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@959 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent ad82113e
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment