Update sample configs

This commit is contained in:
Neil Alexander 2021-01-22 11:20:44 +00:00
parent cd2ecf94d0
commit 200175343f
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 22 additions and 0 deletions

View file

@ -91,6 +91,17 @@ global:
username: metrics username: metrics
password: metrics password: metrics
# DNS cache options. The DNS cache may reduce the load on DNS servers
# if there is no local caching resolver available for use.
dns_cache:
# Whether or not the DNS cache is enabled.
enabled: false
# Maximum number of entries to hold in the DNS cache, and
# for how long those items should be considered valid.
cache_size: 256
cache_lifetime: 600
# Configuration for the Appservice API. # Configuration for the Appservice API.
app_service_api: app_service_api:
internal_api: internal_api:

View file

@ -103,6 +103,17 @@ global:
username: metrics username: metrics
password: metrics password: metrics
# DNS cache options. The DNS cache may reduce the load on DNS servers
# if there is no local caching resolver available for use.
dns_cache:
# Whether or not the DNS cache is enabled.
enabled: false
# Maximum number of entries to hold in the DNS cache, and
# for how long those items should be considered valid.
cache_size: 256
cache_lifetime: 600
# Configuration for the Appservice API. # Configuration for the Appservice API.
app_service_api: app_service_api:
internal_api: internal_api: