forked from TrueCloudLab/neoneo-go
Merge pull request #692 from nspcc-dev/persist-timer-fix
core: reschedule the next persist in a second from previous one
This commit is contained in:
commit
b1b184f77f
1 changed files with 1 additions and 1 deletions
|
@ -278,8 +278,8 @@ func (bc *Blockchain) Run() {
|
|||
if err != nil {
|
||||
bc.log.Warn("failed to persist blockchain", zap.Error(err))
|
||||
}
|
||||
persistTimer.Reset(persistInterval)
|
||||
}()
|
||||
persistTimer.Reset(persistInterval)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue