简体   繁体   中英

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 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.

如果要保留配置更改,则需要致电CONFIG REWRITE

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM