Skip to content

Commit

Permalink
Increase sync watchers period to 1 second
Browse files Browse the repository at this point in the history
Signed-off-by: Marek Siarkowicz <[email protected]>
  • Loading branch information
serathius committed Mar 13, 2024
1 parent ddf5471 commit ab70c02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/storage/mvcc/watchable_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func (s *watchableStore) Restore(b backend.Backend) error {
func (s *watchableStore) syncWatchersLoop() {
defer s.wg.Done()

waitDuration := 100 * time.Millisecond
waitDuration := time.Second
delayTicker := time.NewTicker(waitDuration)
defer delayTicker.Stop()

Expand Down

0 comments on commit ab70c02

Please sign in to comment.