diff options
-rw-r--r-- | common/storage_lmdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
434 | // TODO: handle error | 434 | // TODO: handle error |
435 | std::cerr << "mdb_env_create: " << rc << " " << mdb_strerror(rc) << std::endl; | 435 | std::cerr << "mdb_env_create: " << rc << " " << mdb_strerror(rc) << std::endl; |
436 | } else { | 436 | } else { |
437 | mdb_env_set_maxdbs(env, 10); | 437 | mdb_env_set_maxdbs(env, 50); |
438 | unsigned int flags = MDB_NOTLS; | 438 | unsigned int flags = MDB_NOTLS; |
439 | if (mode == ReadOnly) { | 439 | if (mode == ReadOnly) { |
440 | flags |= MDB_RDONLY; | 440 | flags |= MDB_RDONLY; |