mirror of
https://github.com/bellingcat/auto-archiver-api.git
synced 2026-06-07 19:18:34 +03:00
18 lines
425 B
Plaintext
18 lines
425 B
Plaintext
# Memory management - prevent Redis from consuming all system memory
|
|
# Adjust maxmemory based on your Digital Ocean droplet size
|
|
# For a 4GB droplet, 512MB is reasonable; for 8GB, use 1gb
|
|
maxmemory 1536mb
|
|
maxmemory-policy allkeys-lru
|
|
|
|
# Persistence - save snapshots periodically
|
|
save 900 1
|
|
save 300 10
|
|
save 60 10000
|
|
|
|
# Disable transparent huge pages warning
|
|
activedefrag yes
|
|
|
|
# Connection limits
|
|
timeout 300
|
|
tcp-keepalive 60
|