From ddb2be6e2d260554268db4d4744b38ac00697289 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 24 Jan 2018 18:08:09 +0300 Subject: we need more readers, cause libmdbx returns MDBX_READERS_FULL on large profiles --- plugins/Dbx_mdbx/src/dbintf.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/Dbx_mdbx') 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); } -- cgit v1.2.3