Created
December 20, 2020 15:22
-
-
Save cnp96/9d225724446d2fd0a6c5bd69b3b3f379 to your computer and use it in GitHub Desktop.
Redis persistence
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
appendonly yes # set no to disable aof | |
appendfsync everysec # tells the OS to write data on disk instead of waiting for more data in the buffer. | |
# Available options for appendfsync are | |
# always : sync after every write. Slowest, safest | |
# everysec : sync only once every second. Compromise | |
# no : don't sync, just let the OS flush data as it wants. Faster, risky |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment