(RE-15163) Call BGREWRITEAOF on the redis database every restart to reduce aof file size

This commit is contained in:
isaac-hammes 2023-09-29 05:44:11 -07:00
parent 8b10896e93
commit 8852b9ad50

View file

@ -156,6 +156,13 @@ redis:
initialDelaySeconds: 40
periodSeconds: 10
failureThreshold: 10
lifecycleHooks:
postStart:
exec:
command:
- /bin/sh
- -c
- echo "AUTH $REDIS_PASSWORD\nBGREWRITEAOF" | redis-cli
metrics:
enabled: true
resources: