r2531 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Sat Feb 23 20:27:36 CET 2008


Author: phk
Date: 2008-02-23 20:27:35 +0100 (Sat, 23 Feb 2008)
New Revision: 2531

Modified:
   trunk/varnish-cache/bin/varnishd/cache_backend.c
Log:
Remove unused last_check member and TIM_mono() call


Modified: trunk/varnish-cache/bin/varnishd/cache_backend.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_backend.c	2008-02-23 19:26:38 UTC (rev 2530)
+++ trunk/varnish-cache/bin/varnishd/cache_backend.c	2008-02-23 19:27:35 UTC (rev 2531)
@@ -99,7 +99,6 @@
 	VTAILQ_HEAD(, vbe_conn)	connlist;
 
 	int			health;
-	double			last_check;
 };
 
 static MTX VBE_mtx;
@@ -640,8 +639,6 @@
 
 	vbe_dns_lookup(cli, b);
 
-	b->last_check = TIM_mono();
-
 	VTAILQ_INSERT_TAIL(&backends, b, list);
 	VSL_stats->n_backend++;
 	return (b);




More information about the varnish-commit mailing list