Adding Possibility to disable persistence on Master instances
This commit is contained in:
parent
0c0202ba87
commit
ccc8629b8e
@ -93,6 +93,9 @@
|
||||
<variable name='rdCliOutBuffSoftLimit' type='number' description="Client output buffer soft limit (for slave)">
|
||||
<value>256</value>
|
||||
</variable>
|
||||
<variable name='%%rdSaveDisable' type='oui/non' description="Désactiver la presistence des données sur les maitres">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
</family>
|
||||
<separators>
|
||||
<separator name='redisInstanceName'>Instance Principale</separator>
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user