Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for requestTimeout (0.2 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. pkg/wasm/httpfetcher.go

    	requestMaxRetry int
    }
    
    // NewHTTPFetcher create a new HTTP remote wasm module fetcher.
    // requestTimeout is a timeout for each HTTP/HTTPS request.
    // requestMaxRetry is # of maximum retries of HTTP/HTTPS requests.
    func NewHTTPFetcher(requestTimeout time.Duration, requestMaxRetry int) *HTTPFetcher {
    	if requestTimeout == 0 {
    		requestTimeout = 5 * time.Second
    	}
    	transport := http.DefaultTransport.(*http.Transport).Clone()
    	// nolint: gosec
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 14 20:23:34 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/score/ScoreBooster.java

        private static final Logger logger = LogManager.getLogger(ScoreBooster.class);
    
        protected BulkRequestBuilder bulkRequestBuilder = null;
    
        protected int priority = 1;
    
        protected String requestTimeout = "1m";
    
        protected int requestCacheSize = 1000;
    
        protected String scriptLang = "painless";
    
        protected String scriptCode = null;
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. pkg/http/get.go

    	"bytes"
    	"fmt"
    	"io"
    	"net/http"
    	"time"
    )
    
    const requestTimeout = time.Second * 1 // Default timeout.
    
    func DoHTTPGetWithTimeout(requestURL string, t time.Duration) (*bytes.Buffer, error) {
    	return request("GET", requestURL, t, nil)
    }
    
    func DoHTTPGet(requestURL string) (*bytes.Buffer, error) {
    	return DoHTTPGetWithTimeout(requestURL, requestTimeout)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 03:52:10 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/wasm/options.go

    	"Always":             2,
    }
    
    // GetOptions is a struct for providing options to Get method of Cache.
    type GetOptions struct {
    	Checksum        string
    	ResourceName    string
    	ResourceVersion string
    	RequestTimeout  time.Duration
    	PullSecret      []byte
    	PullPolicy      PullPolicy
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. 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)
Back to top