Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for periodicRefreshMetrics (0.15 sec)

  1. pilot/pkg/xds/discovery.go

    	go s.WorkloadEntryController.Run(stopCh)
    	go s.handleUpdates(stopCh)
    	go s.periodicRefreshMetrics(stopCh)
    	go s.sendPushes(stopCh)
    	go s.Cache.Run(stopCh)
    }
    
    // Push metrics are updated periodically (10s default)
    func (s *DiscoveryServer) periodicRefreshMetrics(stopCh <-chan struct{}) {
    	ticker := time.NewTicker(periodicRefreshMetrics)
    	defer ticker.Stop()
    	for {
    		select {
    		case <-ticker.C:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 20:21:09 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top