From c5b855ccdb4365e56b0b0318aef930846bc4d44c Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 23 Feb 2008 19:43:57 +0000 Subject: [PATCH] obj->lru_stamp is on TIM_real() not TIM_mono(). git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2532 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_vrt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache_vrt.c b/varnish-cache/bin/varnishd/cache_vrt.c index 90ed5bae..9534a80b 100644 --- a/varnish-cache/bin/varnishd/cache_vrt.c +++ b/varnish-cache/bin/varnishd/cache_vrt.c @@ -526,7 +526,7 @@ VRT_r_now(const struct sess *sp) { (void)sp; - return (TIM_mono()); + return (TIM_real()); } double @@ -535,7 +535,7 @@ VRT_r_obj_lastuse(const struct sess *sp) 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 -- 2.39.5