Class AppendFsync (0.1.9)

AppendFsync(value)

Available fsync modes.

Enums

Name Description
APPEND_FSYNC_UNSPECIFIED Not set. Default: EVERYSEC
NO Never fsync. Normally Linux will flush data every 30 seconds with this configuration, but it's up to the kernel's exact tuning.
EVERYSEC fsync every second. Fast enough, and you may lose 1 second of data if there is a disaster
ALWAYS fsync every time new commands are appended to the AOF. It has the best data loss protection at the cost of performance