- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,582 for Retries (0.13 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/transport/NetworkOperationBackOffAndRetry.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 07 04:09:56 UTC 2023 - 2.9K bytes - Viewed (0) -
pkg/webhooks/webhookpatch_test.go
func TestWebhookPatchingQueue(t *testing.T) { success := atomic.NewInt32(0) retries := atomic.NewInt32(0) queue := newWebhookPatcherQueue(func(key types.NamespacedName) error { if key.Name == "conflict-for-ever" { retries.Inc() return errors.New("conflict error") } if key.Name == "conflict-success" { retries.Inc() if retries.Load() < 5 { return errors.New("conflict error") } success.Inc()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 02 09:53:38 UTC 2023 - 8.6K bytes - Viewed (0) -
cluster/gce/gci/master-helper.sh
create-master-instance-internal "${REPLICA_NAME}" } # run-gcloud-command runs a given command over ssh with retries. function run-gcloud-command() { local master_name="${1}" local zone="${2}" local command="${3}" local retries=5 local sleep_sec=10 local result="" for ((i=0; i<retries; i++)); do
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 17 19:00:22 UTC 2022 - 8.7K bytes - Viewed (0) -
pilot/pkg/networking/core/route/retry/retry_test.go
}, }, { name: "TestZeroAttemptsShouldReturnNilPolicy", // Create a route with a retry policy with zero attempts configured. route: &networking.HTTPRoute{ Retries: &networking.HTTPRetry{ // Explicitly not retrying. Attempts: 0, }, }, assertFunc: func(g *WithT, policy *envoyroute.RetryPolicy) { g.Expect(policy).To(BeNil()) }, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 7.7K bytes - Viewed (0) -
src/cmd/go/internal/robustio/robustio.go
package robustio // Rename is like os.Rename, but on Windows retries errors that may occur if the // file is concurrently read or overwritten. // // (See golang.org/issue/31247 and golang.org/issue/32188.) func Rename(oldpath, newpath string) error { return rename(oldpath, newpath) } // ReadFile is like os.ReadFile, but on Windows retries errors that may // occur if the file is concurrently replaced. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.9K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/testing/internal/util/RetryUtil.groovy
*/ package org.gradle.testing.internal.util final class RetryUtil { private RetryUtil() {} static int retry(int retries = 3, int waitMsBetweenRetries = 0, Closure closure) { int retryCount = 0 Throwable lastException = null while (retryCount++ < retries) { try { closure.call() return retryCount } catch (Throwable e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/configuration/configuration_manager.go
func (a *poller) configuration() (runtime.Object, error) { a.once.Do(a.bootstrapping) a.lock.RLock() defer a.lock.RUnlock() retries := 1 if !a.bootstrapped { retries = a.bootstrapRetries } for count := 0; count < retries; count++ { if count > 0 { a.lock.RUnlock() time.Sleep(a.interval) a.lock.RLock() } if a.ready { return a.mergedConfiguration, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 06 02:02:38 UTC 2017 - 4.3K bytes - Viewed (0) -
src/runtime/retry.go
for tries := 0; tries < 20; tries++ { errno := fn() if errno != _EAGAIN { return errno } usleep_no_g(uint32(tries+1) * 1000) // milliseconds } return _EAGAIN
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 10 20:44:45 UTC 2022 - 760 bytes - Viewed (0) -
cmd/bootstrap-peer-server.go
// herd upon start up sequence. time.Sleep(25*time.Millisecond + time.Duration(rand.Int63n(int64(100*time.Millisecond)))) retries++ // after 20 retries start logging that servers are not reachable yet if retries >= 20 { logger.Info(fmt.Sprintf("Waiting for at least %d remote servers with valid configuration to be online", len(clnts)/2)) if len(offlineEndpoints) > 0 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 7.5K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishJavaRetriesIntegTest.groovy
ExecutionResult result = run "publish", '--info' then: verifyPublications() outputContains("Waiting 1000ms before next retry, 2 retries left") outputContains("Waiting 2000ms before next retry, 1 retries left") outputContains("after 2 retries") } def expectPublication() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 4.3K bytes - Viewed (0)