Fix typo in comment
This commit is contained in:
parent
880298fc67
commit
d018164b37
@ -422,7 +422,7 @@ func storeInternalStateLoop() {
|
||||
}()
|
||||
var computeRunning bool
|
||||
lastCompute := time.Now()
|
||||
// randomize the duration between ComputeInternalStateColumnStats to avoid peeks after reboot of machine with multiple blockbooks
|
||||
// randomize the duration between ComputeInternalStateColumnStats to avoid peaks after reboot of machine with multiple blockbooks
|
||||
computePeriod := 9*time.Hour + time.Duration(rand.Float64()*float64((2*time.Hour).Nanoseconds()))
|
||||
glog.Info("storeInternalStateLoop starting with internal state compute period ", computePeriod)
|
||||
tickAndDebounce(storeInternalStatePeriodMs*time.Millisecond, (storeInternalStatePeriodMs-1)*time.Millisecond, chanStoreInternalState, func() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user