diff --git a/kong.conf.default b/kong.conf.default index e8a0c3aa1870..d5a69f08510f 100644 --- a/kong.conf.default +++ b/kong.conf.default @@ -418,12 +418,12 @@ # servers should suffer no such delays, and # this value can be safely set to 0. -#db_cache_ttl = 3600 # Time-to-live (in seconds) of an entity from +#db_cache_ttl = 0 # Time-to-live (in seconds) of an entity from # the datastore when cached by this node. # Database misses (no entity) are also cached # according to this setting. - # If set to 0, such cached entities/misses - # never expire. + # If set to 0 (default), such cached entities + # or misses never expire. #------------------------------------------------------------------------------ # DNS RESOLVER diff --git a/kong/templates/kong_defaults.lua b/kong/templates/kong_defaults.lua index 8599a4b627c4..3f929218e185 100644 --- a/kong/templates/kong_defaults.lua +++ b/kong/templates/kong_defaults.lua @@ -59,7 +59,7 @@ cassandra_schema_consensus_timeout = 10000 db_update_frequency = 5 db_update_propagation = 0 -db_cache_ttl = 3600 +db_cache_ttl = 0 dns_resolver = NONE dns_hostsfile = /etc/hosts