Adding Possibility to disable persistence on Master instances

This commit is contained in:
2018-06-21 10:02:34 +02:00
parent 0c0202ba87
commit ccc8629b8e
2 changed files with 7 additions and 0 deletions

View File

@ -199,9 +199,13 @@ databases 16
#
# save ""
%if %%rdSaveDisable == 'oui'
save ""
%else
save 900 1
save 300 10
save 60 10000
%end if
# By default Redis will stop accepting writes if RDB snapshots are enabled
# (at least one save point) and the latest background save failed.