triedb/pathdb: bump batch size

This commit is contained in:
Gary Rong 2025-06-02 15:34:30 +08:00
parent bd9ead8071
commit 75e40f951c

View file

@ -28,7 +28,7 @@ const (
indexBlockDescSize = 14 // The size of index block descriptor
indexBlockEntriesCap = 4096 // The maximum number of entries can be grouped in a 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