r3049 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Fri Aug 1 09:46:44 CEST 2008


Author: phk
Date: 2008-08-01 09:46:43 +0200 (Fri, 01 Aug 2008)
New Revision: 3049

Modified:
   trunk/varnish-cache/bin/varnishd/cache_center.c
Log:
Fix pass statistics counter



Modified: trunk/varnish-cache/bin/varnishd/cache_center.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_center.c	2008-07-31 22:38:01 UTC (rev 3048)
+++ trunk/varnish-cache/bin/varnishd/cache_center.c	2008-08-01 07:46:43 UTC (rev 3049)
@@ -762,6 +762,7 @@
 		sp->step = STP_ERROR;
 		return (0);
 	}
+	sp->wrk->acct.pass++;
 	HSH_Prealloc(sp);
 	sp->obj = sp->wrk->nobj;
 	sp->wrk->nobj = NULL;




More information about the varnish-commit mailing list