From f238b23b042294f20b546f1bf6da70d005b4ffec Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Tue, 12 Mar 2013 10:25:52 -0700 Subject: [PATCH] Set -leveldbFlushOnMutate to false by default. --- storage/raw/leveldb/leveldb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/raw/leveldb/leveldb.go b/storage/raw/leveldb/leveldb.go index 0602586ee..acf6f4427 100644 --- a/storage/raw/leveldb/leveldb.go +++ b/storage/raw/leveldb/leveldb.go @@ -23,7 +23,7 @@ import ( ) var ( - leveldbFlushOnMutate = flag.Bool("leveldbFlushOnMutate", true, "Whether LevelDB should flush every operation to disk upon mutation before returning (bool).") + leveldbFlushOnMutate = flag.Bool("leveldbFlushOnMutate", false, "Whether LevelDB should flush every operation to disk upon mutation before returning (bool).") leveldbUseSnappy = flag.Bool("leveldbUseSnappy", true, "Whether LevelDB attempts to use Snappy for compressing elements (bool).") leveldbUseParanoidChecks = flag.Bool("leveldbUseParanoidChecks", true, "Whether LevelDB uses expensive checks (bool).") )