diff --git a/server/service/service.go b/server/service/service.go index 5c2089821c..e34fa0eb1b 100644 --- a/server/service/service.go +++ b/server/service/service.go @@ -108,7 +108,7 @@ func (s *Service) updateJitterSeedRand() { func (s *Service) updateJitterSeed(ctx context.Context) { for { select { - case <-time.Tick(1 * time.Hour): + case <-time.After(1 * time.Hour): s.updateJitterSeedRand() case <-ctx.Done(): return