From 26f70b127da81f6cbda75fe929e0d1fa9ea138c4 Mon Sep 17 00:00:00 2001 From: cecilihf Date: Mon, 24 Sep 2007 13:21:27 +0000 Subject: [PATCH] Re-enable the code causing bug #161 (which is now fixed) git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2013 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_center.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache_center.c b/varnish-cache/bin/varnishd/cache_center.c index bf292d8f..31cb9829 100644 --- a/varnish-cache/bin/varnishd/cache_center.c +++ b/varnish-cache/bin/varnishd/cache_center.c @@ -431,7 +431,6 @@ cnt_hit(struct sess *sp) /* Experimental. Reduce health parameter of backend towards zero * if it has been more than a minute since it was checked. */ CHECK_OBJ_NOTNULL(sp->backend, BACKEND_MAGIC); -if (0) { time_diff = TIM_mono() - sp->backend->last_check; minutes = time_diff / 60; if (minutes > sp->backend->minute_limit) { @@ -439,7 +438,6 @@ if (0) { sp->backend->health = (int)((double)sp->backend->health / 2); VBE_UpdateHealth(sp, NULL, 0); } -} VCL_hit_method(sp); -- 2.39.5