From 12bf715b23da35f5906e9039e09a54112d627c01 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Wed, 26 Nov 2008 01:23:38 +0100 Subject: [PATCH] Don't drop the .old in the child We accidentially dropped the renamed object, fix this. --- varnish-cache/bin/varnishd/cache_vcl.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache_vcl.c b/varnish-cache/bin/varnishd/cache_vcl.c index 6baefa86..75f4854c 100644 --- a/varnish-cache/bin/varnishd/cache_vcl.c +++ b/varnish-cache/bin/varnishd/cache_vcl.c @@ -282,12 +282,6 @@ ccf_config_reload(struct cli *cli, const char * const *av, void *priv) vcl_active = vcl; Lck_Unlock(&vcl_mtx); - VSL_stats->n_vcl_discard++; - VSL_stats->n_vcl_avail--; - vcl_discard->conf->discard = 1; - - if (vcl_discard->conf->busy == 0) - VCL_Nuke(vcl_discard); return; } -- 2.39.5