[master] d6298a7 Restore default_ttl to 120 seconds.

Lasse Karstensen lkarsten at varnish-software.com
Wed Mar 26 17:04:02 CET 2014


commit d6298a76f621b1083bb645ec82f1401f2963aa52
Author: Lasse Karstensen <lkarsten at varnish-software.com>
Date:   Wed Mar 26 17:01:19 2014 +0100

    Restore default_ttl to 120 seconds.
    
    This was reduced to 20 seconds in 6d0c94c34c0e471b12982b207857934ec4e6ea57.
    
    The git commit message does not mention default_ttl, and since this was a
    fairly big commit, I don't believe the change was intentional.

diff --git a/bin/varnishd/mgt/mgt_param_tbl.c b/bin/varnishd/mgt/mgt_param_tbl.c
index b6ae75c..be862e2 100644
--- a/bin/varnishd/mgt/mgt_param_tbl.c
+++ b/bin/varnishd/mgt/mgt_param_tbl.c
@@ -64,7 +64,7 @@ struct parspec mgt_parspec[] = {
 		"The TTL assigned to objects if neither the backend nor "
 		"the VCL code assigns one.",
 		OBJ_STICKY,
-		"20", "seconds" },
+		"120", "seconds" },
 	{ "default_grace", tweak_timeout, &mgt_param.default_grace,
 		"0", NULL,
 		"Default grace period.  We will deliver an object "



More information about the varnish-commit mailing list