Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for requestTimeout (0.24 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/server_run_options_test.go

    				MaxMutatingRequestsInFlight: -200,
    				RequestTimeout:              time.Duration(2) * time.Minute,
    				MinRequestTimeout:           1800,
    				JSONPatchMaxCopyBytes:       10 * 1024 * 1024,
    				MaxRequestBodyBytes:         10 * 1024 * 1024,
    			},
    			expectErr: "--max-mutating-requests-inflight can not be negative value",
    		},
    		{
    			name: "Test when RequestTimeout is negative value",
    			testOptions: &ServerRunOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 15:49:49 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  2. pkg/wasm/cache_test.go

    			fetchURL:               ts.URL,
    			getOptions: GetOptions{
    				Checksum:        httpDataCheckSum,
    				ResourceName:    "namespace.resource",
    				ResourceVersion: "0",
    				RequestTimeout:  time.Second * 10,
    			},
    			wantCachedModules: map[moduleKey]*cacheEntry{
    				{name: ts.URL, checksum: httpDataCheckSum}: {modulePath: httpDataCheckSum + ".wasm"},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook.go

    	tokenReviewClient := &tokenReviewV1Client{tokenReview.RESTClient()}
    	return newWithBackoff(tokenReviewClient, retryBackoff, implicitAuds, requestTimeout, metrics)
    }
    
    // New creates a new WebhookTokenAuthenticator from the provided rest
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 00:47:42 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/options/server_run_options.go

    	return &ServerRunOptions{
    		MaxRequestsInFlight:                 defaults.MaxRequestsInFlight,
    		MaxMutatingRequestsInFlight:         defaults.MaxMutatingRequestsInFlight,
    		RequestTimeout:                      defaults.RequestTimeout,
    		LivezGracePeriod:                    defaults.LivezGracePeriod,
    		MinRequestTimeout:                   defaults.MinRequestTimeout,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 21:53:51 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactoryTest.java

                    Collections.emptyMap(),
                    Collections.emptyMap());
    
            int requestTimeout = (Integer) systemSessionFactory
                    .newRepositorySession(request)
                    .getConfigProperties()
                    .get(ConfigurationProperties.REQUEST_TIMEOUT + "." + server.getId());
            assertEquals(3000, requestTimeout);
        }
    
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Mar 27 14:46:12 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                    }
                    // org.eclipse.aether.ConfigurationProperties.REQUEST_TIMEOUT => int
                    if (requestTimeout != null) {
                        configProps.put(ConfigurationProperties.REQUEST_TIMEOUT + "." + server.getId(), requestTimeout);
                    }
                }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 14:13:36 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/peerproxy/peerproxy_handler_test.go

    	"k8s.io/client-go/transport"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	"k8s.io/component-base/metrics/legacyregistry"
    	"k8s.io/component-base/metrics/testutil"
    )
    
    const (
    	requestTimeout = 30 * time.Second
    	localServerId  = "local-apiserver"
    	remoteServerId = "remote-apiserver"
    )
    
    type FakeSVMapData struct {
    	gvr      schema.GroupVersionResource
    	serverId string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/config.go

    	RESTOptionsGetter genericregistry.RESTOptionsGetter
    
    	// If specified, all requests except those which match the LongRunningFunc predicate will timeout
    	// after this duration.
    	RequestTimeout time.Duration
    	// If specified, long running requests such as watch will be allocated a random timeout between this value, and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  9. pkg/test/framework/resource/flags.go

    		"Gateway conformance test timeout for waiting for namespaces to be ready.")
    	flag.DurationVar(&settingsFromCommandLine.GatewayConformanceTimeoutConfig.RequestTimeout, "istio.test.gatewayConformance.requestTimeout",
    		0, "Gateway conformance test timeout for an HTTP request.")
    	flag.DurationVar(&settingsFromCommandLine.GatewayConformanceTimeoutConfig.LatestObservedGenerationSet,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/webhook/webhook_test.go

    		t.Errorf("failed to create the client config file: %v", err)
    		return
    	}
    	defer os.Remove(configFile)
    
    	var requestTimeout = 10 * time.Millisecond
    
    	config, err := LoadKubeconfig(configFile, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	config.Timeout = requestTimeout
    
    	wh, err := NewGenericWebhook(runtime.NewScheme(), scheme.Codecs, config, groupVersions, retryBackoff)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 25.8K bytes
    - Viewed (0)
Back to top