Skip to content

Commit

Permalink
Update redis.conf
Browse files Browse the repository at this point in the history
Signed-off-by: 熊鑫伟 Xinwei Xiong <3293172751NSS@gmail.com>
  • Loading branch information
cubxxw authored Oct 17, 2024
1 parent f41e32c commit 318165d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compose/production/redis/redis.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ save 300 10
save 60 10000

# 主动整理碎片,优化内存使用
activefrag yes
active-defrag yes

# 调整内存碎片整理的最小阈值和最大阈值
active-defrag-ignore-bytes 200mb
Expand Down

0 comments on commit 318165d

Please sign in to comment.