summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src/dbintf.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-01-24 18:08:09 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-01-24 18:08:09 +0300
commitddb2be6e2d260554268db4d4744b38ac00697289 (patch)
treecef1b602200b2b2cc6e1e0e1318f6b65d205235b /plugins/Dbx_mdbx/src/dbintf.cpp
parentc4722415c258aca682c7a817ead9e7143a23ee44 (diff)
we need more readers, cause libmdbx returns MDBX_READERS_FULL on large profiles
Diffstat (limited to 'plugins/Dbx_mdbx/src/dbintf.cpp')
-rw-r--r--plugins/Dbx_mdbx/src/dbintf.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Dbx_mdbx/src/dbintf.cpp b/plugins/Dbx_mdbx/src/dbintf.cpp
index 183ea4130d..679141dc79 100644
--- a/plugins/Dbx_mdbx/src/dbintf.cpp
+++ b/plugins/Dbx_mdbx/src/dbintf.cpp
@@ -34,6 +34,7 @@ CDbxMDBX::CDbxMDBX(const TCHAR *tszFileName, int iMode) :
mdbx_env_create(&m_env);
mdbx_env_set_maxdbs(m_env, 10);
+ mdbx_env_set_maxreaders(m_env, 244);
mdbx_env_set_userctx(m_env, this);
}