update config

This commit is contained in:
siddontang 2014-09-04 14:02:47 +08:00
parent 9eaab3fba2
commit 2efd35de5a
3 changed files with 5 additions and 0 deletions

View File

@ -102,6 +102,7 @@ func NewConfigDefault() *Config {
// disable access log // disable access log
cfg.AccessLog = "" cfg.AccessLog = ""
cfg.LMDB.MapSize = 20 * 1024 * 1024
cfg.LMDB.NoSync = true cfg.LMDB.NoSync = true
return cfg return cfg

View File

@ -22,6 +22,8 @@ slaveof = ""
# goleveldb # goleveldb
# lmdb # lmdb
# boltdb # boltdb
# hyperleveldb
# memory
# #
db_name = "leveldb" db_name = "leveldb"

View File

@ -24,6 +24,8 @@ slaveof = ""
# goleveldb # goleveldb
# lmdb # lmdb
# boltdb # boltdb
# hyperleveldb
# memory
# #
db_name = "leveldb" db_name = "leveldb"