Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,352 for Retries (0.19 sec)

  1. pkg/util/goroutinemap/exponentialbackoff/exponential_backoff.go

    	// constant recognizable.
    	maxDurationBeforeRetry = 2*time.Minute + 2*time.Second
    )
    
    // ExponentialBackoff contains the last occurrence of an error and the duration
    // that retries are not permitted.
    type ExponentialBackoff struct {
    	lastError           error
    	lastErrorTime       time.Time
    	durationBeforeRetry time.Duration
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 19 03:30:46 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  2. pkg/queue/delay.go

    	go func() {
    		defer close(stopped)
    		for {
    			select {
    			case t := <-d.execute:
    				if err := t.do(); err != nil {
    					if t.retries < maxTaskRetry {
    						t.retries++
    						log.Warnf("Work item handle failed: %v %d times, retry it", err, t.retries)
    						d.pushInternal(t)
    						continue
    					}
    					log.Errorf("Work item handle failed: %v, reaching the maximum retry times: %d, drop it", err, maxTaskRetry)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 06:27:31 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeConnection.java

            String fullPath = "\\" + loc.getServer() + "\\" + loc.getShare() + loc.getUNCPath();
            int maxRetries = this.ctx.getConfig().getMaxRequestRetries();
            for ( int retries = 1; retries <= maxRetries; retries++ ) {
    
                if ( rpath != null ) {
                    rpath.setFullUNCPath(null, null, fullPath);
                }
    
                try {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  4. security/pkg/k8s/controller/casecret.go

    func NewCaSecretController(core corev1.CoreV1Interface) *CaSecretController {
    	cs := &CaSecretController{
    		client: core,
    	}
    	return cs
    }
    
    // LoadCASecretWithRetry reads CA secret with retries until timeout.
    func (csc *CaSecretController) LoadCASecretWithRetry(secretName, namespace string,
    	retryInterval, timeout time.Duration,
    ) (*v1.Secret, error) {
    	start := time.Now()
    	var caSecret *v1.Secret
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

     * both.
     *
     * Applications may configure OkHttp with an authenticator for origin servers, or proxy servers,
     * or both.
     *
     * ## Authentication Retries
     *
     * If your authentication may be flaky and requires retries you should apply some policy
     * to limit the retries by the class of errors and number of attempts.  To get the number of
     * attempts to the current point use this function.
     *
     * ```java
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/transport/NetworkOperationBackOffAndRetryTest.groovy

    import spock.lang.Specification
    
    import java.util.concurrent.Callable
    
    class NetworkOperationBackOffAndRetryTest extends Specification {
    
        def 'retries operation on transient network issue and fails after max attempts - #ex'() {
            when:
            int attempts = 0
            Callable operation = {
                attempts++
                throw ex
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 04:09:56 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/cni-watcher.go

    	// if nil is returned, we found it but ambient is not enabled
    	for ambientPod, err = s.handlers.GetPodIfAmbient(name, namespace); (err != nil) && (retries < maxStaleRetries); retries++ {
    		log.Warnf("got an event for pod %s in namespace %s not found in current pod cache, retry %d of %d",
    			name, namespace, retries, maxStaleRetries)
    		if !sleep.UntilContext(s.ctx, time.Duration(msInterval)*time.Millisecond) {
    			return nil, fmt.Errorf("aborted")
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. .github/workflows/tests.yml

              - 9910:3306
            options: >-
              --health-cmd "mysqladmin ping -ugorm -pgorm"
              --health-interval 10s
              --health-start-period 10s
              --health-timeout 5s
              --health-retries 10
    
        steps:
        - name: Set up Go 1.x
          uses: actions/setup-go@v4
          with:
            go-version: ${{ matrix.go }}
    
        - name: Check out code into the Go module directory
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:24:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. pkg/webhooks/webhookpatch.go

    	return controllers.NewQueue("webhook patcher",
    		controllers.WithReconciler(reconciler),
    		// Try first few(5) retries quickly so that we can detect true conflicts by multiple Istiod instances fast.
    		// If there is a conflict beyond this, it means Istiods are seeing different ca certs and are in inconsistent
    		// state for longer duration. Slowdown the retries, so that we do not overload kube api server and etcd.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 28 00:36:38 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. releasenotes/notes/validating-webhook-reconcile-change.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    issue:
    - 32210
    releaseNotes:
    - |
      **Fixed** reconciliation logic in the validation webhook controller to rate-limit
      the retries in the loop. This should drastically reduce churn (and generated logs)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 23 19:06:28 UTC 2021
    - 302 bytes
    - Viewed (0)
Back to top