[master] 797333e Decrement the VBE.*.conn gauge
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Fri Jul 8 12:43:06 CEST 2016
commit 797333eda08eaf8080ed2a5754f044e4dcf6a407
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Fri Jul 8 12:41:07 2016 +0200
Decrement the VBE.*.conn gauge
Fixes #2011
diff --git a/bin/varnishd/cache/cache_backend.c b/bin/varnishd/cache/cache_backend.c
index 14e5c04..55b2a13 100644
--- a/bin/varnishd/cache/cache_backend.c
+++ b/bin/varnishd/cache/cache_backend.c
@@ -170,6 +170,7 @@ vbe_dir_finish(const struct director *d, struct worker *wrk,
}
assert(bp->n_conn > 0);
bp->n_conn--;
+ bp->vsc->conn--;
#define ACCT(foo) bp->vsc->foo += bo->acct.foo;
#include "tbl/acct_fields_bereq.h"
#undef ACCT
More information about the varnish-commit
mailing list