mirror of
https://github.com/dnscrypt/dnscrypt-server-docker
synced 2024-11-22 19:42:03 +01:00
Bump the encrypted-dns cache up
This commit is contained in:
parent
4f4b0865f9
commit
93cae8ceb5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user