get token_UUID0e4fc6a9-2403-479f-ad78-eb58d30091e3
显示 set nu
取消显示 set nonu
231 # However if you have setup your proper monitoring of the Redis server
232 # and persistence, you may want to disable this feature so that Redis will
233 # continue to work as usual even if there are problems with disk,
234 # permissions, and so forth.
235 stop-writes-on-bgsave-error no
但是看到配置文件里的注释就很清晰了:
然而如果配置了redis服务器的监控和持久化,您可能希望禁用此功能,使Redis将继续工作,即使出现了磁盘故障、权限等问题。
将配置项stop-writes-on-bgsave-error 设置为no,可以在redis命令行里配置,也可以在redis.conf配置文
件里改。