Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for WatchInitialized (0.2 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher.go

    	// TODO: As describe in the KEP, we would like to estimate that by delaying
    	//   the initialization signal proportionally to the number of events to
    	//   process, but we're leaving this to the tuning phase.
    	utilflowcontrol.WatchInitialized(ctx)
    
    	for {
    		select {
    		case event, ok := <-c.input:
    			if !ok {
    				return
    			}
    			// only send events newer than resourceVersion
    			// or a bookmark event with an RV equal to resourceVersion
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 12:22:41 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher.go

    	// is by default enabled for all resources but Events), we just deliver
    	// the initialization signal immediately. Improving this will be explored
    	// in the future.
    	utilflowcontrol.WatchInitialized(ctx)
    
    	return wc, nil
    }
    
    func (w *watcher) createWatchChan(ctx context.Context, key string, rev int64, recursive, progressNotify bool, pred storage.SelectionPredicate) *watchChan {
    	wc := &watchChan{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 10:26:38 UTC 2023
    - 18.9K bytes
    - Viewed (0)
Back to top