CONFIG REWRITE: fixed typo in AOF fsync policy.

This commit is contained in:
antirez 2013-05-15 11:06:56 +02:00
parent 72e980231c
commit 402a0f1ca0

View File

@ -1591,7 +1591,7 @@ int rewriteConfig(char *path) {
rewriteConfigNumericalOption(state,"maxmemory-samples",server.maxmemory_samples,REDIS_DEFAULT_MAXMEMORY_SAMPLES);
rewriteConfigAppendonlyOption(state);
rewriteConfigEnumOption(state,"appendfsync",server.aof_fsync,
"eveysec", AOF_FSYNC_EVERYSEC,
"everysec", AOF_FSYNC_EVERYSEC,
"always", AOF_FSYNC_ALWAYS,
"no", AOF_FSYNC_NO,
NULL, REDIS_DEFAULT_AOF_FSYNC);