mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-01 00:31:21 +00:00
in mem test - don't use writemap (#801)
This commit is contained in:
parent
d2603c5730
commit
5c2433d8cf
@ -129,7 +129,7 @@ func (opts MdbxOpts) InMem(tmpDir string) MdbxOpts {
|
|||||||
}
|
}
|
||||||
opts.path = path
|
opts.path = path
|
||||||
opts.inMem = true
|
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
|
opts.mapSize = 512 * datasize.MB
|
||||||
return opts
|
return opts
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user