forked from TrueCloudLab/neoneo-go
core: increase persist batch size for reset storage changes
This commit is contained in:
parent
bdc42cd595
commit
b82374823e
1 changed files with 1 additions and 1 deletions
|
@ -792,7 +792,7 @@ func (bc *Blockchain) resetStateInternal(height uint32, stage stateChangeStage)
|
||||||
mgmtContractPrefix[4] = native.PrefixContract
|
mgmtContractPrefix[4] = native.PrefixContract
|
||||||
cs := new(state.Contract)
|
cs := new(state.Contract)
|
||||||
|
|
||||||
const persistBatchSize = 10000
|
const persistBatchSize = 200000
|
||||||
var (
|
var (
|
||||||
seekErr error
|
seekErr error
|
||||||
cnt int
|
cnt int
|
||||||
|
|
Loading…
Reference in a new issue