- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for NewExponentialBackOff (0.31 sec)
-
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultFileLockManager.java
FileLockOutcome lockOutcome; try { lockOutcome = lockInformationRegion(LockMode.Exclusive, newExponentialBackoff(shortTimeoutMs)); } catch (InterruptedException e) { throw throwAsUncheckedException(e); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:32 UTC 2024 - 22.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/multicluster.go
func (m *Multicluster) checkShouldLead(client kubelib.Client, systemNamespace string, stop <-chan struct{}) bool { var res bool if features.ExternalIstiod { b := backoff.NewExponentialBackOff(backoff.DefaultOption()) ctx, cancel := context.WithCancel(context.Background()) go func() { select { case <-stop: cancel() case <-ctx.Done(): } }() defer cancel()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 12.7K bytes - Viewed (0) -
security/pkg/nodeagent/sds/sdsservice.go
// server in these cases. go func() { // TODO: do we need max timeout for retry, seems meaningless to retry forever if it never succeed b := backoff.NewExponentialBackOff(backoff.DefaultOption()) // context for both timeout and channel, whichever stops first, the context will be done ctx, cancel := context.WithCancel(context.Background()) go func() { select {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 25 00:20:04 UTC 2024 - 10.9K bytes - Viewed (0) -
pkg/istio-agent/agent.go
// TODO: Fix this method with unused return value // nolint: unparam func (a *Agent) getWorkloadCerts(st *cache.SecretManagerClient) (sk *security.SecretItem, err error) { b := backoff.NewExponentialBackOff(backoff.DefaultOption()) // This will loop forever until success err = b.RetryWithContext(context.TODO(), func() error { sk, err = st.GenerateSecret(security.WorkloadKeyCertResourceName) if err == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 10:02:56 UTC 2024 - 26.7K bytes - Viewed (0)