Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nextBookmarkTime (0.17 sec)

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

    	}
    
    	// OK, block sending, but only until timer fires.
    	select {
    	case c.input <- event:
    		return true
    	case <-timer.C:
    		closeFunc()
    		return false
    	}
    }
    
    func (c *cacheWatcher) nextBookmarkTime(now time.Time, bookmarkFrequency time.Duration) (time.Time, bool) {
    	// We try to send bookmarks:
    	//
    	// (a) right before the watcher timeout - for now we simply set it 2s before
    	//     the deadline
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 12:22:41 UTC 2023
    - 18.7K bytes
    - Viewed (0)
Back to top