git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1978
d4fa192b-c00b-0410-8231-
f00ffab90ce4
/* 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) {
sp->backend->health = (int)((double)sp->backend->health / 2);
VBE_UpdateHealth(sp, NULL, 0);
}
+}
VCL_hit_method(sp);