Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for retryInterval (0.17 sec)

  1. pilot/pkg/model/jwks_resolver.go

    	refreshIntervalOnFailure,
    	retryInterval time.Duration,
    	caBundlePaths []string,
    ) *JwksResolver {
    	ret := &JwksResolver{
    		evictionDuration:         evictionDuration,
    		refreshInterval:          refreshDefaultInterval,
    		refreshDefaultInterval:   refreshDefaultInterval,
    		refreshIntervalOnFailure: refreshIntervalOnFailure,
    		retryInterval:            retryInterval,
    		httpClient: &http.Client{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. security/pkg/pki/ca/selfsignedcarootcertrotator.go

    	org                string
    	rootCertFile       string
    	secretName         string
    	client             corev1.CoreV1Interface
    	CheckInterval      time.Duration
    	caCertTTL          time.Duration
    	retryInterval      time.Duration
    	retryMax           time.Duration
    	dualUse            bool
    	enableJitter       bool
    }
    
    // SelfSignedCARootCertRotator automatically checks self-signed signing root
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 19:33:26 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  3. fess-crawler-es/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

        }
    
        public void setSizeForDelete(final int sizeForDelete) {
            this.sizeForDelete = sizeForDelete;
        }
    
        public void setRetryInterval(final long retryInterval) {
            this.retryInterval = retryInterval;
        }
    
        public void setMaxRetryCount(final int maxRetryCount) {
            this.maxRetryCount = maxRetryCount;
        }
    
        public void setConnTimeout(final long connTimeout) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. cmd/kubeadm/app/phases/upgrade/staticpods.go

    		return true, errors.Wrap(err, "error creating local etcd static pod manifest file")
    	}
    
    	retries := 10
    	retryInterval := 15 * time.Second
    
    	// Perform etcd upgrade using common to all control plane components function
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 10:07:41 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top