r2532 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Sat Feb 23 20:43:57 CET 2008
Author: phk
Date: 2008-02-23 20:43:57 +0100 (Sat, 23 Feb 2008)
New Revision: 2532
Modified:
trunk/varnish-cache/bin/varnishd/cache_vrt.c
Log:
obj->lru_stamp is on TIM_real() not TIM_mono().
Modified: trunk/varnish-cache/bin/varnishd/cache_vrt.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vrt.c 2008-02-23 19:27:35 UTC (rev 2531)
+++ trunk/varnish-cache/bin/varnishd/cache_vrt.c 2008-02-23 19:43:57 UTC (rev 2532)
@@ -526,7 +526,7 @@
{
(void)sp;
- return (TIM_mono());
+ return (TIM_real());
}
double
@@ -535,7 +535,7 @@
CHECK_OBJ_NOTNULL(sp, SESS_MAGIC);
CHECK_OBJ_NOTNULL(sp->obj, OBJECT_MAGIC); /* XXX */
- return (TIM_mono() - sp->obj->lru_stamp);
+ return (TIM_real() - sp->obj->lru_stamp);
}
int
More information about the varnish-commit
mailing list