mirror of
https://github.com/bellingcat/auto-archiver-api.git
synced 2026-06-12 21:48:35 +03:00
adjusts limits for deployment performance
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user