【已回复】redis6.0修改配置无效
环境宝塔windows面板6.6
Redis 6.0.1
bug重现
改完配置点击保存,刷新下发现配置并没有存到conf文件内
bug起因
原因已经找到,保存配置是通过正则替换文本,新安装的redis配置文件与代码中的正则不符
默认的配置(少了最后面的一个.)
# Redis configuration file example
设置方法中的rep
rep = "# Redis configuration file example.\n"
解决方法
只需要到Redis->设置->配置文件中,第一行最后面加个.即可。
此bug已经在之前的一次修复redis6.0 cpu占用的时候修复了的
页:
[1]