[英]Redis-cli not able to change the redis.conf?
I am learning redis, and I am trying to modify the persistence setting via redis-cli. 我正在学习redis,并且试图通过redis-cli修改持久性设置。
redis 127.0.0.1:6379> CONFIG get save
1) "save"
2) "3600 1 300 100 60 10000"
When I execute this command, 当我执行此命令时,
CONFIG set save "60 1"
I am able to change the save parameter, but it is not reflecting in redis.conf file. 我可以更改save参数,但它不会反映在redis.conf文件中。
如果要保留配置更改,则需要致电CONFIG REWRITE
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.