summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorKevin Cox <kevincox@kevincox.ca>2022-07-04 11:47:31 -0400
committerKevin Cox <kevincox@kevincox.ca>2022-07-05 07:37:38 -0400
commit568d2e77f43efd26b387ae43ddc4c3352920ab10 (patch)
treefe53c0a2714c41d4eaaa7e204d60495b7eaecec5 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parent4d26010c93091d4cb7fca36b8d3ecb33c89a6f23 (diff)
nixos.redis: Fix disabling of RDB persistence.
I was under the impression that setting `services.redis.servers.<name>.save = []` would disable RDB persistence as no schedule would mean no persistence. However since the code did not handle this case specially it actually results in no `save` setting being written and the internal Redis default is used. This patch handles the empty case to disable RDB persistence. Disabling RDB persistence is useful in a number of scenarios: 1. Using Redis in a pure-cache mode where persistence is not desired. 2. When using the (generally superior) AOF persistence mode this file is never read so there is little point to writing it. 3. When saving is handled manually For more information see https://redis.io/docs/manual/persistence/ This is a breaking change as the user may have been relying on `[]` using Redis defaults. However I believe that updating the behaviour for the next release is beneficial as IMHO it is less surprising and does what the user would expect. I have added release notes to warn about this change.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions