Fix dns_min_ttl config doc.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -285,9 +285,10 @@ pub struct Config {
|
|||||||
|
|
||||||
/// Minimum time-to-live in seconds for entries in the DNS cache. The
|
/// Minimum time-to-live in seconds for entries in the DNS cache. The
|
||||||
/// default may appear high to most administrators; this is by design as the
|
/// default may appear high to most administrators; this is by design as the
|
||||||
/// majority of NXDOMAINs are correct for a long time (e.g. the server is no
|
/// exotic loads of federating to many other servers require a higher TTL
|
||||||
/// longer running Matrix). Only decrease this if you are using an external
|
/// than many domains have set. Even when using an external DNS cache the
|
||||||
/// DNS cache.
|
/// problem is shifted to that cache which is ignorant of its role for
|
||||||
|
/// this application and can adhere to many low TTL's increasing its load.
|
||||||
///
|
///
|
||||||
/// default: 10800
|
/// default: 10800
|
||||||
#[serde(default = "default_dns_min_ttl")]
|
#[serde(default = "default_dns_min_ttl")]
|
||||||
|
|||||||
@@ -214,9 +214,10 @@
|
|||||||
|
|
||||||
# Minimum time-to-live in seconds for entries in the DNS cache. The
|
# Minimum time-to-live in seconds for entries in the DNS cache. The
|
||||||
# default may appear high to most administrators; this is by design as the
|
# default may appear high to most administrators; this is by design as the
|
||||||
# majority of NXDOMAINs are correct for a long time (e.g. the server is no
|
# exotic loads of federating to many other servers require a higher TTL
|
||||||
# longer running Matrix). Only decrease this if you are using an external
|
# than many domains have set. Even when using an external DNS cache the
|
||||||
# DNS cache.
|
# problem is shifted to that cache which is ignorant of its role for
|
||||||
|
# this application and can adhere to many low TTL's increasing its load.
|
||||||
#
|
#
|
||||||
#dns_min_ttl = 10800
|
#dns_min_ttl = 10800
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user