mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
mdbx: print in logs - real limit (#8910)
This commit is contained in:
parent
e11e374f8b
commit
7335dccc2c
@ -305,8 +305,11 @@ func (opts MdbxOpts) Open(ctx context.Context) (kv.RwDB, error) {
|
||||
}
|
||||
|
||||
opts.pageSize = uint64(in.PageSize)
|
||||
opts.mapSize = datasize.ByteSize(in.MapSize)
|
||||
if opts.label == kv.ChainDB {
|
||||
opts.log.Info("[db] chaindata", "sizeLimit", opts.mapSize, "pageSize", opts.pageSize)
|
||||
opts.log.Info("[db] open", "lable", opts.label, "sizeLimit", opts.mapSize, "pageSize", opts.pageSize)
|
||||
} else {
|
||||
opts.log.Debug("[db] open", "lable", opts.label, "sizeLimit", opts.mapSize, "pageSize", opts.pageSize)
|
||||
}
|
||||
|
||||
// erigon using big transactions
|
||||
|
Loading…
Reference in New Issue
Block a user