[master] 4a81bc6 Remove obsolete comment about obj.hits

Poul-Henning Kamp phk at FreeBSD.org
Wed Mar 19 23:41:22 CET 2014


commit 4a81bc626e01e7e329b69184c0a6e95be8afbaa8
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Mar 19 21:34:29 2014 +0000

    Remove obsolete comment about obj.hits

diff --git a/bin/varnishd/builtin.vcl b/bin/varnishd/builtin.vcl
index 92f4641..8e5ca36 100644
--- a/bin/varnishd/builtin.vcl
+++ b/bin/varnishd/builtin.vcl
@@ -113,12 +113,6 @@ sub vcl_miss {
 }
 
 sub vcl_deliver {
-    /*
-     * These two write to the stored object causing extra page faults
-     * Enable them only if you need them.
-     *
-     * set obj.hits = obj.hits + 1;
-     */
     return (deliver);
 }
 



More information about the varnish-commit mailing list