mirror of
https://github.com/YunoHost-Apps/dendrite_ynh.git
synced 2024-09-03 18:25:58 +02:00
Enable DNS cache
This commit is contained in:
parent
daceff4914
commit
6a69cd6e55
1 changed files with 3 additions and 3 deletions
|
@ -116,12 +116,12 @@ global:
|
||||||
# if there is no local caching resolver available for use.
|
# if there is no local caching resolver available for use.
|
||||||
dns_cache:
|
dns_cache:
|
||||||
# Whether or not the DNS cache is enabled.
|
# Whether or not the DNS cache is enabled.
|
||||||
enabled: false
|
enabled: true
|
||||||
|
|
||||||
# Maximum number of entries to hold in the DNS cache, and
|
# Maximum number of entries to hold in the DNS cache, and
|
||||||
# for how long those items should be considered valid in seconds.
|
# for how long those items should be considered valid in seconds.
|
||||||
cache_size: 256
|
cache_size: 4096
|
||||||
cache_lifetime: "5m" # 5minutes; see https://pkg.go.dev/time@master#ParseDuration for more
|
cache_lifetime: "10m" # 5minutes; see https://pkg.go.dev/time@master#ParseDuration for more
|
||||||
|
|
||||||
# Configuration for the Appservice API.
|
# Configuration for the Appservice API.
|
||||||
app_service_api:
|
app_service_api:
|
||||||
|
|
Loading…
Add table
Reference in a new issue