mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Increase sync watchers period to 1 second
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
This commit is contained in:
parent
ddf54715bf
commit
ab70c0258f
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user