MyNixOS website logo
option

services.redis.servers.<name>.save

The schedule in which data is persisted to disk, represented as a list of lists where the first element represent the amount of seconds and the second the number of changes.

If set to the empty list ([]) then RDB persistence will be disabled (useful if you are using AOF or don't want any persistence).

Declarations
Type
list of list of signed integer
Default
[
  [
    900
    1
  ]
  [
    300
    10
  ]
  [
    60
    10000
  ]
]