Skip to content

Commit

Permalink
disable refresh config for now
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPresent-Han committed Nov 15, 2024
1 parent a720909 commit a3abb80
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/config/refresher.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ func newRefresher(interval time.Duration, fetchFunc func() error) *refresher {
func (r *refresher) start(name string) {
if r.refreshInterval > 0 {
r.intervalInitOnce.Do(func() {
r.wg.Add(1)
go r.refreshPeriodically(name)
//r.wg.Add(1)
//go r.refreshPeriodically(name)
log.Info("Disable refresh periodically")
})
}
}
Expand Down

0 comments on commit a3abb80

Please sign in to comment.