mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 20:11:14 +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
|
protected-mode yes
|
||||||
port 6379
|
port 6379
|
||||||
|
|
||||||
|
auto-aof-rewrite-percentage 50
|
||||||
|
auto-aof-rewrite-min-size 128mb
|
||||||
|
|
||||||
rename-command FLUSHDB ""
|
rename-command FLUSHDB ""
|
||||||
rename-command FLUSHALL ""
|
rename-command FLUSHALL ""
|
||||||
rename-command DEBUG ""
|
rename-command DEBUG ""
|
||||||
|
|
Loading…
Reference in a new issue