aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-12-19 12:45:29 +0100
committerGitHub Enterprise <[email protected]>2024-12-19 12:45:29 +0100
commit24e13e49e38578b82cdbe13d9d8d91a4ff8e38e3 (patch)
tree41b2670896f1d61063c7c9047ca17ff012f11a43 /src
parentdon't add overhead of verifying oplog presence on disk for "getchunks" rpc ca... (diff)
downloadzen-24e13e49e38578b82cdbe13d9d8d91a4ff8e38e3.tar.xz
zen-24e13e49e38578b82cdbe13d9d8d91a4ff8e38e3.zip
increase limit for mmap path to 8kb (#270)
Diffstat (limited to 'src')
-rw-r--r--src/zencore/iobuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zencore/iobuffer.cpp b/src/zencore/iobuffer.cpp
index 3d9d6706a..3b5c89c3e 100644
--- a/src/zencore/iobuffer.cpp
+++ b/src/zencore/iobuffer.cpp
@@ -289,7 +289,7 @@ IoBufferExtendedCore::Materialize() const
return;
}
- const size_t DisableMMapSizeLimit = 0x1000ull;
+ const size_t DisableMMapSizeLimit = 0x2000ull;
if (m_DataBytes < DisableMMapSizeLimit)
{