Skip to content

Commit

Permalink
chore(config) set default db_cache_ttl to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
kikito committed May 29, 2018
1 parent 6263443 commit 555a305
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions kong.conf.default
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion kong/templates/kong_defaults.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 555a305

Please sign in to comment.