Commit 2a29cf43 authored by antirez's avatar antirez
Browse files

CONFIG REWRITE: fixed typo in AOF fsync policy.

parent c95a6096
...@@ -1568,7 +1568,7 @@ int rewriteConfig(char *path) { ...@@ -1568,7 +1568,7 @@ int rewriteConfig(char *path) {
rewriteConfigNumericalOption(state,"maxmemory-samples",server.maxmemory_samples,REDIS_DEFAULT_MAXMEMORY_SAMPLES); rewriteConfigNumericalOption(state,"maxmemory-samples",server.maxmemory_samples,REDIS_DEFAULT_MAXMEMORY_SAMPLES);
rewriteConfigAppendonlyOption(state); rewriteConfigAppendonlyOption(state);
rewriteConfigEnumOption(state,"appendfsync",server.aof_fsync, rewriteConfigEnumOption(state,"appendfsync",server.aof_fsync,
"eveysec", AOF_FSYNC_EVERYSEC, "everysec", AOF_FSYNC_EVERYSEC,
"always", AOF_FSYNC_ALWAYS, "always", AOF_FSYNC_ALWAYS,
"no", AOF_FSYNC_NO, "no", AOF_FSYNC_NO,
NULL, REDIS_DEFAULT_AOF_FSYNC); NULL, REDIS_DEFAULT_AOF_FSYNC);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment