forked from mirror/ledisdb
config test bugfix
This commit is contained in:
parent
a3f402c6bd
commit
ed9f1e9ac8
|
@ -18,6 +18,7 @@ func TestConfig(t *testing.T) {
|
||||||
dstCfg.LevelDB.CacheSize = 524288000
|
dstCfg.LevelDB.CacheSize = 524288000
|
||||||
dstCfg.LevelDB.MaxOpenFiles = 1024
|
dstCfg.LevelDB.MaxOpenFiles = 1024
|
||||||
dstCfg.LMDB.MapSize = 524288000
|
dstCfg.LMDB.MapSize = 524288000
|
||||||
|
dstCfg.LMDB.NoSync = true
|
||||||
|
|
||||||
cfg, err := NewConfigWithFile("./config.toml")
|
cfg, err := NewConfigWithFile("./config.toml")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue