Skip to content

Commit

Permalink
Merge branch 'master' into feature/RHCLOUD-32115
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeykazakov authored Sep 5, 2024
2 parents 99c96c2 + 811f9b3 commit f75e520
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,13 @@ func main() {
}
}()

// update cache every 10 seconds
// update cache every 2 seconds
go func() {
for {
if _, err := configuration.ForceLoadRegistrationServiceConfig(cl); err != nil {
log.Error(nil, err, "failed to update the configuration cache")
}
time.Sleep(10 * time.Second)
time.Sleep(2 * time.Second)
}
}()

Expand Down

0 comments on commit f75e520

Please sign in to comment.