Permalink
Browse files

appendfsync is now set to NO by default

  • Loading branch information...
antirez committed Oct 30, 2009
1 parent 48f0308 commit 0154acdc57bd73f0a7f8afe2cecc890679ee97ff
Showing with 3 additions and 1 deletion.
  1. +1 −1 redis.c
  2. +2 −0 redis.conf
View
@@ -1036,7 +1036,7 @@ static void initServerConfig() {
server.glueoutputbuf = 1;
server.daemonize = 0;
server.appendonly = 0;
- server.appendfsync = APPENDFSYNC_EVERYSEC;
+ server.appendfsync = APPENDFSYNC_NO;
server.lastfsync = time(NULL);
server.appendfd = -1;
server.appendseldb = -1; /* Make sure the first time will not match */
View
@@ -121,6 +121,8 @@ databases 16
# like (you have to comment the "save" statements above to disable the dumps).
# Still if append only mode is enabled Redis will load the data from the
# log file at startup ignoring the dump.rdb file.
+#
+# The name of the append only file is "appendonly.log"
# appendonly yes

0 comments on commit 0154acd

Please sign in to comment.