How to disable persistence with redis?

后端 未结 4 548
闹比i
闹比i 2021-01-30 03:06

I was wondering how to disable presistence in redis. There is mention of the possibility of doing this here: http://redis.io/topics/persistence. I mean it in the exact same sens

4条回答
  •  面向向阳花
    2021-01-30 03:35

    If you want to avoid playing with redis.conf (dev/test environments), you can do it through the command line with

    redis-server --save "" --appendonly no

    (tested with redis server 3.2.6 and 5.0.5)

提交回复
热议问题