summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Dbx_mdbx/src/dbintf.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Dbx_mdbx/src/dbintf.cpp b/plugins/Dbx_mdbx/src/dbintf.cpp
index 0a643f548c..230a01920e 100644
--- a/plugins/Dbx_mdbx/src/dbintf.cpp
+++ b/plugins/Dbx_mdbx/src/dbintf.cpp
@@ -182,12 +182,12 @@ STDMETHODIMP_(void) CDbxMDBX::SetCacheSafetyMode(BOOL bIsSet)
int CDbxMDBX::Map()
{
int rc = mdbx_env_set_geometry(m_env,
- -1 /* minimal lower limit */,
- 64ul << 10 /* atleast 64K for now */,
- 256ul << 20 /* 256M upper limit */,
- 256ul << 10 /* 256K growth step */,
- 512ul << 10 /* 512K shrink threshold */,
- -1 /* default page size */);
+ -1, // minimal lower limit
+ 1ul << 20, // at least 1M for now
+ 512ul << 20, // 512M upper size
+ 1ul << 20, // 1M growth step
+ 512ul << 10, // 512K shrink threshold
+ -1); // default page size
if (rc != MDBX_SUCCESS)
return rc;