From 91cb5bf93c7eb1caad910b693927d80e552239b1 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sun, 23 Aug 2015 18:59:33 +0200 Subject: Increase the limit of named databases to 50 --- common/storage_lmdb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/storage_lmdb.cpp b/common/storage_lmdb.cpp index 13755bb..3c153fc 100644 --- a/common/storage_lmdb.cpp +++ b/common/storage_lmdb.cpp @@ -434,7 +434,7 @@ Storage::Private::Private(const QString &s, const QString &n, AccessMode m, bool // TODO: handle error std::cerr << "mdb_env_create: " << rc << " " << mdb_strerror(rc) << std::endl; } else { - mdb_env_set_maxdbs(env, 10); + mdb_env_set_maxdbs(env, 50); unsigned int flags = MDB_NOTLS; if (mode == ReadOnly) { flags |= MDB_RDONLY; -- cgit v1.2.3