summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-09-22 20:40:07 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-09-22 20:40:07 +0300
commit4d35365992ede7ce9f6dfbf3de3900a62c4ed697 (patch)
treec2e92f4ba96d8316bfadb5d0cd583272f1123df1 /plugins/Dbx_mdbx/src
parente6ef5a9fbfb199bd8248b3050fe9c9c9abdc50bf (diff)
fix for error -32790 on very large profiles
Diffstat (limited to 'plugins/Dbx_mdbx/src')
-rw-r--r--plugins/Dbx_mdbx/src/dbintf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_mdbx/src/dbintf.cpp b/plugins/Dbx_mdbx/src/dbintf.cpp
index 0dc12bc648..c8f7225650 100644
--- a/plugins/Dbx_mdbx/src/dbintf.cpp
+++ b/plugins/Dbx_mdbx/src/dbintf.cpp
@@ -234,7 +234,7 @@ int CDbxMDBX::Map()
mdbx_env_create(&m_env);
mdbx_env_set_maxdbs(m_env, 10);
- mdbx_env_set_maxreaders(m_env, 244);
+ mdbx_env_set_maxreaders(m_env, 1024);
mdbx_env_set_userctx(m_env, this);
mdbx_env_set_assert(m_env, assert_func);