From 2efd35de5a59524caa4b3fda292a5c6adee48cb2 Mon Sep 17 00:00:00 2001 From: siddontang Date: Thu, 4 Sep 2014 14:02:47 +0800 Subject: [PATCH] update config --- config/config.go | 1 + config/config.toml | 2 ++ etc/ledis.conf | 2 ++ 3 files changed, 5 insertions(+) diff --git a/config/config.go b/config/config.go index 48a45f7..ca93d29 100644 --- a/config/config.go +++ b/config/config.go @@ -102,6 +102,7 @@ func NewConfigDefault() *Config { // disable access log cfg.AccessLog = "" + cfg.LMDB.MapSize = 20 * 1024 * 1024 cfg.LMDB.NoSync = true return cfg diff --git a/config/config.toml b/config/config.toml index 573db9a..2a3a246 100644 --- a/config/config.toml +++ b/config/config.toml @@ -22,6 +22,8 @@ slaveof = "" # goleveldb # lmdb # boltdb +# hyperleveldb +# memory # db_name = "leveldb" diff --git a/etc/ledis.conf b/etc/ledis.conf index 2097f65..d3adbd8 100644 --- a/etc/ledis.conf +++ b/etc/ledis.conf @@ -24,6 +24,8 @@ slaveof = "" # goleveldb # lmdb # boltdb +# hyperleveldb +# memory # db_name = "leveldb"