diff --git a/pkg/ensurance/collector/collector.go b/pkg/ensurance/collector/collector.go index 754bd8347..e2c1b8ae4 100644 --- a/pkg/ensurance/collector/collector.go +++ b/pkg/ensurance/collector/collector.go @@ -91,7 +91,7 @@ func (s *StateCollector) Run(stop <-chan struct{}) { // do collect periodically go func() { - updateTicker := time.NewTicker(10 * time.Second) + updateTicker := time.NewTicker(s.collectInterval) defer updateTicker.Stop() for { select {