Skip to content

Commit 7a4c919

Browse files
committed
Adopt refresh_delays as cache sources TTL
DNSCrypt/dnscrypt-proxy#2334
1 parent c0e56e6 commit 7a4c919

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

config/dnscrypt-proxy.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -697,9 +697,9 @@ allowed_ips_file = 'allowed-ips.txt'
697697
## If the `urls` property is missing, cache files and valid signatures
698698
## must already be present. This doesn't prevent these cache files from
699699
## expiring after `refresh_delay` hours.
700-
## Cache freshness is checked every 24 hours, so values for 'refresh_delay'
701-
## of less than 24 hours will have no effect.
702-
## A maximum delay of 168 hours (1 week) is imposed to ensure cache freshness.
700+
## `refreshed_delay` must be in the [24..168] interval.
701+
## The minimum delay of 24 hours (1 day) avoids unnecessary requests to servers.
702+
## The maximum delay of 168 hours (1 week) ensures cache freshness.
703703

704704
[sources]
705705

0 commit comments

Comments
 (0)