mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
triedb/pathdb: bump batch size
This commit is contained in:
parent
bd9ead8071
commit
75e40f951c
1 changed files with 4 additions and 4 deletions
|
|
@ -28,7 +28,7 @@ const (
|
||||||
indexBlockDescSize = 14 // The size of index block descriptor
|
indexBlockDescSize = 14 // The size of index block descriptor
|
||||||
indexBlockEntriesCap = 4096 // The maximum number of entries can be grouped in a block
|
indexBlockEntriesCap = 4096 // The maximum number of entries can be grouped in a block
|
||||||
indexBlockRestartLen = 256 // The restart interval length of index block
|
indexBlockRestartLen = 256 // The restart interval length of index block
|
||||||
historyIndexBatch = 65536 // The number of state histories for constructing or deleting indexes together
|
historyIndexBatch = 1_000_000 // The number of state history indexes for constructing or deleting as batch
|
||||||
)
|
)
|
||||||
|
|
||||||
// indexBlockDesc represents a descriptor for an index block, which contains a
|
// indexBlockDesc represents a descriptor for an index block, which contains a
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue