Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for shouldRecordWatchListLatency (0.26 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/watch.go

    			if !ok {
    				// End of results.
    				return
    			}
    			metrics.WatchEvents.WithContext(req.Context()).WithLabelValues(kind.Group, kind.Version, kind.Kind).Inc()
    			isWatchListLatencyRecordingRequired := shouldRecordWatchListLatency(event)
    
    			if err := watchEncoder.Encode(event); err != nil {
    				utilruntime.HandleError(err)
    				// client disconnect.
    				return
    			}
    
    			if len(ch) == 0 {
    				flusher.Flush()
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 16:37:25 UTC 2023
    - 11.4K bytes
    - Viewed (0)
Back to top