mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-10-06 18:22:02 +00:00
Add redis automatic rewrite configuration.
This should hopefully prevent the AOF file from growing too large.
This commit is contained in:
parent
fd0b1d90b0
commit
30ba8d37dc
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,9 @@ bind 127.0.0.1 ::1
|
|||
protected-mode yes
|
||||
port 6379
|
||||
|
||||
auto-aof-rewrite-percentage 50
|
||||
auto-aof-rewrite-min-size 128mb
|
||||
|
||||
rename-command FLUSHDB ""
|
||||
rename-command FLUSHALL ""
|
||||
rename-command DEBUG ""
|
||||
|
|
Loading…
Reference in a new issue