- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for requestTimeout (0.19 sec)
-
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) -
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) -
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) -
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) -
pkg/test/echo/common/util.go
package common import ( "flag" "net/http" "strings" "time" "istio.io/istio/pkg/test/echo/proto" ) func init() { flag.DurationVar(&DefaultRequestTimeout, "istio.test.echo.requestTimeout", DefaultRequestTimeout, "Specifies the timeout for individual ForwardEcho calls.") } var DefaultRequestTimeout = 5 * time.Second const ( ConnectionTimeout = 2 * time.Second DefaultCount = 1 )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 01 01:05:45 UTC 2022 - 2.6K bytes - Viewed (0) -
pkg/test/echo/server/endpoint/util.go
package endpoint import ( "crypto/tls" "net" "os" "strconv" "time" "istio.io/istio/pkg/log" ) var epLog = log.RegisterScope("endpoint", "echo serverside") const ( requestTimeout = 15 * time.Second idleTimeout = 5 * time.Second ) func listenOnAddress(ip string, port int) (net.Listener, int, error) { parsedIP := net.ParseIP(ip) ipBind := "tcp" if parsedIP != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 2.6K bytes - Viewed (0) -
pkg/test/echo/server/endpoint/tcp.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 16:20:31 UTC 2023 - 5.7K bytes - Viewed (0)