Skip to content

Commit

Permalink
Merge branch 'master' into banneduser-middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
filariow authored Sep 5, 2024
2 parents d81542b + 811f9b3 commit 6609036
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 6609036

Please sign in to comment.