From 5c2433d8cfd33767fd6edf068b215158a38ff423 Mon Sep 17 00:00:00 2001 From: Alex Sharov Date: Fri, 23 Dec 2022 14:37:55 +0700 Subject: [PATCH] in mem test - don't use writemap (#801) --- kv/mdbx/kv_mdbx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kv/mdbx/kv_mdbx.go b/kv/mdbx/kv_mdbx.go index c11c470a9..490aca468 100644 --- a/kv/mdbx/kv_mdbx.go +++ b/kv/mdbx/kv_mdbx.go @@ -129,7 +129,7 @@ func (opts MdbxOpts) InMem(tmpDir string) MdbxOpts { } opts.path = path opts.inMem = true - opts.flags = mdbx.UtterlyNoSync | mdbx.NoMetaSync | mdbx.LifoReclaim | mdbx.WriteMap | mdbx.NoMemInit + opts.flags = mdbx.UtterlyNoSync | mdbx.NoMetaSync | mdbx.LifoReclaim | mdbx.NoMemInit opts.mapSize = 512 * datasize.MB return opts }