- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for retryOn (0.25 sec)
-
pkg/config/validation/validation_test.go
}, valid: false}, {name: "invalid policy retryOn", in: &networking.HTTPRetry{ Attempts: 10, PerTryTimeout: &durationpb.Duration{Seconds: 2}, RetryOn: "5xx,invalid policy", }, valid: false}, {name: "invalid http status retryOn", in: &networking.HTTPRetry{ Attempts: 10, PerTryTimeout: &durationpb.Duration{Seconds: 2}, RetryOn: "600,connect-failure", }, valid: false},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 03:11:45 UTC 2024 - 196K bytes - Viewed (0) -
pkg/config/validation/validation.go
if retries.Attempts == 0 && (retries.PerTryTimeout != nil || retries.RetryOn != "" || retries.RetryRemoteLocalities != nil) { errs = appendErrors(errs, errors.New("http retry policy configured when attempts are set to 0 (disabled)")) } if retries.PerTryTimeout != nil { errs = appendErrors(errs, agent.ValidateDuration(retries.PerTryTimeout)) } if retries.RetryOn != "" { retryOnPolicies := strings.Split(retries.RetryOn, ",")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0) -
tests/integration/pilot/common/routing.go
}, }, }, workloadAgnostic: true, }) // Retry conditions have been added to just check that config is correct. // Retries are not specifically tested. TODO if we actually test retries, include proxyless t.RunTraffic(TrafficTestCase{ name: "retry conditions", config: ` apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 21:52:51 UTC 2024 - 135.9K bytes - Viewed (0) -
operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz
portion of the URL with this value. type: string type: object retries: description: Retry policy for HTTP requests. properties: attempts: description: Number of retries to be allowed for a given request. format: int32 type: integer perTryTimeout: description: Timeout per attempt for a given request, including the initial call and any retries. type: string retryOn: description: Specifies the conditions under which retry takes place. type: string retryRemoteLocalitie: description: Flag to specify whether...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 10 05:10:03 UTC 2024 - 198.1K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/operation_generator.go
// else on the system. Retry if it returns true. deviceOpened, deviceOpenedErr := isDeviceOpened(deviceToDetach, hostutil) if deviceOpenedErr != nil { return volumetypes.NewOperationContext(nil, deviceOpenedErr, migrated) } // The device is still in use elsewhere. Caller will log and retry. if deviceOpened {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 101.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
@Test fun canRetryNormalRequestBody() { server.enqueue( MockResponse( code = 503, headers = headersOf("Retry-After", "0"), body = "please retry", ), ) server.enqueue( MockResponse(body = "thank you for retrying"), ) val request = Request( url = server.url("/"), body = object : RequestBody() {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
src/net/http/transport_test.go
t.Errorf("want timeout error; got: %q", nerr) continue } if !tt.wantTimeout { if !retry { // The timeout may be set too short. Retry with a longer one. t.Logf("unexpected timeout for path %q after %v; retrying with longer timeout", tt.path, timeout) timeout *= 2 retry = true } } if !strings.Contains(err.Error(), "timeout awaiting response headers") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java
public static final String ERRORS_APP_DB_ALREADY_UPDATED = "{errors.app.db.already.updated}"; /** The key of the message: already existing data, so retry. */ public static final String ERRORS_APP_DB_ALREADY_EXISTS = "{errors.app.db.already.exists}"; /** The key of the message: Your request might have been processed before this request. Please check and retry it. */
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 119.9K bytes - Viewed (0) -
src/database/sql/sql.go
// driver.ErrBadConn to signal a broken connection before forcing a new // connection to be opened. const maxBadConnRetries = 2 func (db *DB) retry(fn func(strategy connReuseStrategy) error) error { for i := int64(0); i < maxBadConnRetries; i++ { err := fn(cachedOrNewConn) // retry if err is driver.ErrBadConn if err == nil || !errors.Is(err, driver.ErrBadConn) { return err } } return fn(alwaysNewConn)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 103.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
"This is the new location!", ) val first = server.takeRequest() assertThat(first.requestLine).isEqualTo("GET / HTTP/1.1") val retry = server.takeRequest() assertThat(retry.requestLine).isEqualTo("GET /foo HTTP/1.1") if (reuse) { assertThat(retry.sequenceNumber, "Expected connection reuse") .isEqualTo(1) } } @Test fun redirectedOnHttps() {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0)