update write epoch in the background every second
This commit is contained in:
parent
66f1630f14
commit
933c786421
@ -505,7 +505,7 @@ func (s *SplitStore) updateWriteEpoch() {
|
||||
}
|
||||
|
||||
func (s *SplitStore) background() {
|
||||
ticker := time.NewTicker(time.Duration(builtin.EpochDurationSeconds) * time.Second)
|
||||
ticker := time.NewTicker(time.Second)
|
||||
defer ticker.Stop()
|
||||
|
||||
for {
|
||||
|
Loading…
Reference in New Issue
Block a user