- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for retryInterval (0.18 sec)
-
cmd/shared-lock.go
package cmd import ( "context" "time" ) var sharedLockTimeout = newDynamicTimeoutWithOpts(dynamicTimeoutOpts{ timeout: 30 * time.Second, minimum: 10 * time.Second, retryInterval: time.Minute, }) type sharedLock struct { lockContext chan LockContext } func (ld sharedLock) backgroundRoutine(ctx context.Context, objAPI ObjectLayer, lockName string) { for {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Feb 13 09:26:38 UTC 2023 - 2.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/etcd/etcd.go
func (c *Client) WaitForClusterAvailable(retries int, retryInterval time.Duration) (bool, error) { for i := 0; i < retries; i++ { if i > 0 { klog.V(1).Infof("[etcd] Waiting %v until next retry\n", retryInterval) time.Sleep(retryInterval) } klog.V(2).Infof("[etcd] attempting to see if all cluster endpoints (%s) are available %d/%d", c.Endpoints, i+1, retries)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 21.2K bytes - Viewed (0) -
internal/dsync/drwmutex.go
dm.startContinuousLockRefresh(lockLossCallback, id, source, quorum) return locked } switch { case opts.RetryInterval < 0: return false case opts.RetryInterval > 0: time.Sleep(opts.RetryInterval) default: attempt++ time.Sleep(lockRetryBackOff(dm.rng, attempt)) } } } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 19.7K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/staticpods.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 10:07:41 UTC 2024 - 30.7K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go
// the ClusterRoleBinding by using superAdminClient. func EnsureAdminClusterRoleBindingImpl(ctx context.Context, adminClient, superAdminClient clientset.Interface, retryInterval, retryTimeout time.Duration) (clientset.Interface, error) { klog.V(1).Infof("ensuring that the ClusterRoleBinding for the %s Group exists", kubeadmconstants.ClusterAdminsGroupAndClusterRoleBinding) var (
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:04:18 UTC 2024 - 27K bytes - Viewed (0) -
pilot/pkg/model/jwks_resolver_test.go
r := NewJwksResolver( 100*time.Millisecond, /*EvictionDuration*/ 10*time.Millisecond, /*RefreshInterval*/ 10*time.Millisecond, /*RefreshIntervalOnFailure*/ testRetryInterval, /*RetryInterval*/ ) defer r.Close() ms := startMockServer(t) defer ms.Stop() // Configures the mock server to return error after the first request. ms.ReturnErrorAfterFirstNumHits = 1
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 09:47:21 UTC 2024 - 19.2K bytes - Viewed (0) -
plugin/pkg/admission/serviceaccount/admission.go
// If this is the default serviceaccount, attempt more times, since it should be auto-created by the controller numAttempts = 10 } retryInterval := time.Duration(rand.Int63n(100)+int64(100)) * time.Millisecond for i := 0; i < numAttempts; i++ { if i != 0 { time.Sleep(retryInterval) } serviceAccount, err := s.client.CoreV1().ServiceAccounts(namespace).Get(context.TODO(), name, metav1.GetOptions{}) if err == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 12 17:49:30 UTC 2024 - 18.6K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/staticpods_test.go
return err } return os.RemoveAll(spm.BackupEtcdDir()) } type fakeTLSEtcdClient struct{ TLS bool } func (c fakeTLSEtcdClient) WaitForClusterAvailable(retries int, retryInterval time.Duration) (bool, error) { return true, nil } func (c fakeTLSEtcdClient) CheckClusterHealth() error { return nil } func (c fakeTLSEtcdClient) Sync() error { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 32K bytes - Viewed (0) -
security/pkg/pki/ca/selfsignedcarootcertrotator_test.go
return caopts } func getRootCertRotator(opts *IstioCAOptions) *SelfSignedCARootCertRotator { ca, _ := NewIstioCA(opts) ca.rootCertRotator.config.retryMax = time.Millisecond * 50 ca.rootCertRotator.config.retryInterval = time.Millisecond * 5 return ca.rootCertRotator
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 11 23:33:41 UTC 2023 - 14.1K bytes - Viewed (0) -
pkg/util/async/bounded_frequency_runner_test.go
waitForRunWithRetry("first run", t, timer, obj, 5*time.Second) // Nothing happens... timer.advance(time.Second) // rel=1000ms waitForNothing("minInterval, nothing queued", t, timer, obj) // After retryInterval, function is called timer.advance(4 * time.Second) // rel=5000ms waitForRun("retry", t, timer, obj) // Run again, before minInterval expires. timer.advance(499 * time.Millisecond) // rel=499ms runner.Run()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 15 09:36:26 UTC 2022 - 12.5K bytes - Viewed (0)