mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-28 14:47:16 +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.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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user