Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for resourceVersionTooHighRetrySeconds (0.49 sec)

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

    	// before terminating request and returning Timeout error with retry
    	// after suggestion.
    	blockTimeout = 3 * time.Second
    
    	// resourceVersionTooHighRetrySeconds is the seconds before a operation should be retried by the client
    	// after receiving a 'too high resource version' error.
    	resourceVersionTooHighRetrySeconds = 1
    
    	// eventFreshDuration is time duration of events we want to keep.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    			require.NoError(t, err, "failed to create watch: %v")
    			defer w.Stop()
    			var expectedErr *apierrors.StatusError
    			if !errors.As(storage.NewTooLargeResourceVersionError(105, 100, resourceVersionTooHighRetrySeconds), &expectedErr) {
    				t.Fatalf("Unable to convert NewTooLargeResourceVersionError to apierrors.StatusError")
    			}
    			verifyEvents(t, w, []watch.Event{
    				{
    					Type: watch.Error,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
Back to top