4.0-tp1: obj.hits not incremented

Federico Schwindt fgsch at lodoss.net
Wed Jan 22 10:40:35 CET 2014


Hi,

lastuse was renamed to last_use.

f.-


On Mon, Jan 20, 2014 at 2:07 PM, Delacroix, Gauthier <
Gauthier.Delacroix at coreye.fr> wrote:

> Ok, it works fine for obj.hits, but obj.lastuse gives this :
>
> Message from VCC-compiler:
> Unknown variable 'obj.lastuse'
> At: ('common_end.vcl' Line 68 Pos 7)
>   set obj.lastuse = now;
> ------###########-------
>
> Running VCC-compiler failed, exit 1
>
> VCL compilation failed
>
> Gauthier
>
> -----Message d'origine-----
> De : Poul-Henning Kamp [mailto:phk at phk.freebsd.dk]
> Envoyé : lundi 20 janvier 2014 14:56
> À : Delacroix, Gauthier
> Cc : varnish-dev at varnish-cache.org
> Objet : Re: 4.0-tp1: obj.hits not incremented
>
> In message <
> 5F530A9242E7F84F999DB40E0E268FBD45ADFA6A at mercalli.lild01.pictime.fr
> >, "Delacroix, Gauthier" writes:
>
> >Ok, I should have read the new default.vcl...this is often a quick
> >course of the new syntax...
> >
> >Thanks for the answer. Is there a risk in enabling them ?
>
> No.  It will cost a fraction of your performance, but most people will
> never notice.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk at FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
> _______________________________________________
> varnish-dev mailing list
> varnish-dev at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20140122/0c776f0f/attachment.html>


More information about the varnish-dev mailing list