1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-26 06:13:49 +01:00

Bump the encrypted-dns cache up

This commit is contained in:
Frank Denis 2019-10-26 22:22:46 +02:00
parent 4f4b0865f9
commit 93cae8ceb5
2 changed files with 2 additions and 2 deletions

@ -58,7 +58,7 @@ tcp_max_active_connections = 100
## Built-in DNS cache capacity
cache_capacity = 50000
cache_capacity = 150000
## DNS cache: minimum TTL

@ -10,7 +10,7 @@ if [ $availableMemory -le $((reserved * 2)) ]; then
exit 1
fi
availableMemory=$((availableMemory - reserved))
msg_cache_size=$((availableMemory / 3))
msg_cache_size=$((availableMemory / 4))
rr_cache_size=$((availableMemory / 3))
nproc=$(nproc)
if [ "$nproc" -gt 1 ]; then