From: phk Date: Sat, 23 Feb 2008 19:43:57 +0000 (+0000) Subject: obj->lru_stamp is on TIM_real() not TIM_mono(). X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5b855ccdb4365e56b0b0318aef930846bc4d44c;p=varnish 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 --- 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