From c718387d8d235f41e21192b26ac03988ccd9c946 Mon Sep 17 00:00:00 2001 From: siddontang Date: Mon, 16 Mar 2015 09:19:57 +0800 Subject: [PATCH] set max db number to 10240 I think this is enough --- ledis/const.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ledis/const.go b/ledis/const.go index 393b97d..3c9b99c 100644 --- a/ledis/const.go +++ b/ledis/const.go @@ -104,7 +104,7 @@ var ( ) const ( - MaxDatabases int = 16 + MaxDatabases int = 10240 //max key size MaxKeySize int = 1024