mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 03:41:34 +00:00
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
|
||||
cs := new(state.Contract)
|
||||
|
||||
const persistBatchSize = 10000
|
||||
const persistBatchSize = 200000
|
||||
var (
|
||||
seekErr error
|
||||
cnt int
|
||||
|
|
Loading…
Reference in a new issue