mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-10 04:51:20 +00:00
save
This commit is contained in:
parent
57f16884b8
commit
f30a800889
@ -114,7 +114,7 @@ func AllComponents(ctx context.Context, cfg txpoolcfg.Config, cache kvcache.Cach
|
|||||||
if cfg.MdbxDBSizeLimit > 0 {
|
if cfg.MdbxDBSizeLimit > 0 {
|
||||||
opts = opts.MapSize(cfg.MdbxDBSizeLimit)
|
opts = opts.MapSize(cfg.MdbxDBSizeLimit)
|
||||||
} else {
|
} else {
|
||||||
opts = opts.MapSize(1 * datasize.GB)
|
opts = opts.MapSize(1 * datasize.TB)
|
||||||
|
|
||||||
}
|
}
|
||||||
if cfg.MdbxGrowthStep > 0 {
|
if cfg.MdbxGrowthStep > 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user