Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkAndUpdate (0.1 sec)

  1. pilot/pkg/config/monitor/monitor.go

    	go func() {
    		for {
    			select {
    			case <-c:
    				log.Infof("Triggering reload of file configuration")
    				m.checkAndUpdate()
    			case <-stop:
    				return
    			}
    		}
    	}()
    }
    
    func (m *Monitor) checkAndUpdate() {
    	newConfigs, err := m.getSnapshotFunc()
    	// If an error exists then log it and return to running the check and update
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top