From: Tollef Fog Heen Date: Wed, 26 Nov 2008 00:23:38 +0000 (+0100) Subject: Don't drop the .old in the child X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fcli_vcl_reload;p=varnish Don't drop the .old in the child We accidentially dropped the renamed object, fix this. --- 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; }