r4398 - branches/2.0/varnish-cache/bin/varnishd
tfheen at projects.linpro.no
tfheen at projects.linpro.no
Wed Dec 16 09:50:50 CET 2009
Author: tfheen
Date: 2009-12-16 09:50:49 +0100 (Wed, 16 Dec 2009)
New Revision: 4398
Modified:
branches/2.0/varnish-cache/bin/varnishd/cache_center.c
Log:
Merge small part of r4215: Charge sessions when herding
In 2.0.5 we default to lingering for a bit which can cause sessions to
not be charged for a long time. This fixes it.
Modified: branches/2.0/varnish-cache/bin/varnishd/cache_center.c
===================================================================
--- branches/2.0/varnish-cache/bin/varnishd/cache_center.c 2009-12-16 08:26:48 UTC (rev 4397)
+++ branches/2.0/varnish-cache/bin/varnishd/cache_center.c 2009-12-16 08:50:49 UTC (rev 4398)
@@ -105,6 +105,7 @@
if (i == 0) {
WSL(sp->wrk, SLT_Debug, sp->fd, "herding");
VSL_stats->sess_herd++;
+ SES_Charge(sp);
sp->wrk = NULL;
vca_return_session(sp);
return (1);
More information about the varnish-commit
mailing list