Skip to content

Commit

Permalink
revert to refreshing every hour
Browse files Browse the repository at this point in the history
  • Loading branch information
spowelljr committed Jan 30, 2024
1 parent 9563c29 commit 8461add
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@ func refreshAllPullSecrets() error {
return nil
}

// pullSecretTicker refreshes all the image registry pull secrets every six hours
// pullSecretTicker refreshes all the image registry pull secrets every hour
func pullSecretTicker() {
for range time.Tick(6 * time.Hour) {
for range time.Tick(1 * time.Hour) {
log.Print("refreshing image pull secrets")
if err := refreshAllPullSecrets(); err != nil {
log.Print(err)
Expand Down

0 comments on commit 8461add

Please sign in to comment.