appendfsync is now set to NO by default

This commit is contained in:
antirez
2009-10-30 16:35:16 +01:00
parent 48f0308ad3
commit 0154acdc57
2 changed files with 3 additions and 1 deletions

View File

@ -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 */