[master] 527f1bd0b no need to sum stats which we don't use

Nils Goroll nils.goroll at uplex.de
Thu Sep 27 18:24:06 UTC 2018


commit 527f1bd0b74e758c6f8b8ae189b293151e61cd15
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Sep 27 20:21:32 2018 +0200

    no need to sum stats which we don't use

diff --git a/bin/varnishd/cache/cache_ban_lurker.c b/bin/varnishd/cache/cache_ban_lurker.c
index 1729e04a9..a56119c62 100644
--- a/bin/varnishd/cache/cache_ban_lurker.c
+++ b/bin/varnishd/cache/cache_ban_lurker.c
@@ -422,7 +422,6 @@ ban_lurker(struct worker *wrk, void *priv)
 		d += VTIM_real();
 		Lck_Lock(&ban_mtx);
 		if (gen == ban_generation) {
-			Pool_Sumstat(wrk);
 			(void)Lck_CondWait(&ban_lurker_cond, &ban_mtx, d);
 			ban_batch = 0;
 		}


More information about the varnish-commit mailing list