mirror of https://github.com/ledisdb/ledisdb.git
update config
This commit is contained in:
parent
9eaab3fba2
commit
2efd35de5a
|
@ -102,6 +102,7 @@ func NewConfigDefault() *Config {
|
|||
// disable access log
|
||||
cfg.AccessLog = ""
|
||||
|
||||
cfg.LMDB.MapSize = 20 * 1024 * 1024
|
||||
cfg.LMDB.NoSync = true
|
||||
|
||||
return cfg
|
||||
|
|
|
@ -22,6 +22,8 @@ slaveof = ""
|
|||
# goleveldb
|
||||
# lmdb
|
||||
# boltdb
|
||||
# hyperleveldb
|
||||
# memory
|
||||
#
|
||||
db_name = "leveldb"
|
||||
|
||||
|
|
|
@ -24,6 +24,8 @@ slaveof = ""
|
|||
# goleveldb
|
||||
# lmdb
|
||||
# boltdb
|
||||
# hyperleveldb
|
||||
# memory
|
||||
#
|
||||
db_name = "leveldb"
|
||||
|
||||
|
|
Loading…
Reference in New Issue