Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 503 for backref (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/webhook/webhook.go

    const defaultRequestTimeout = 30 * time.Second
    
    // DefaultRetryBackoffWithInitialDelay returns the default backoff parameters for webhook retry from a given initial delay.
    // Handy for the client that provides a custom initial delay only.
    func DefaultRetryBackoffWithInitialDelay(initialBackoffDelay time.Duration) wait.Backoff {
    	return wait.Backoff{
    		Duration: initialBackoffDelay,
    		Factor:   1.5,
    		Jitter:   0.2,
    		Steps:    5,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 19:02:55 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/resources/TextResourceFactory.java

     *
     * @since 2.2
     */
    public interface TextResourceFactory {
        /**
         * Creates a text resource backed by the given string.
         *
         * @param string a string
         * @return a text resource backed by the given string
         */
        TextResource fromString(String string);
    
        /**
         * Creates a text resource backed by the given file.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 15 19:10:41 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  3. pkg/controller/job/backoff_utils_test.go

    				failuresAfterLastSuccess: 0,
    			},
    		},
    		"Empty backoff store with no success/failure": {
    			storeInitializer: emptyStoreInitializer,
    			newSucceededPods: []metav1.Time{},
    			newFailedPods:    []metav1.Time{},
    			wantBackoffRecord: backoffRecord{
    				key:                      "key",
    				failuresAfterLastSuccess: 0,
    			},
    		},
    		"Empty backoff store with one success": {
    			storeInitializer: emptyStoreInitializer,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 07:46:41 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultFileLockManager.java

                                if (fileLockContentionHandler.maybePingOwner(lockInfo.port, lockInfo.lockId, displayName, backoff.getTimer().getElapsedMillis() - lastPingTime, backoff.getSignal())) {
                                    lastPingTime = backoff.getTimer().getElapsedMillis();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:32 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook.go

    	"k8s.io/client-go/rest"
    	"k8s.io/klog/v2"
    )
    
    // DefaultRetryBackoff returns the default backoff parameters for webhook retry.
    func DefaultRetryBackoff() *wait.Backoff {
    	backoff := webhook.DefaultRetryBackoffWithInitialDelay(500 * time.Millisecond)
    	return &backoff
    }
    
    // Ensure WebhookTokenAuthenticator implements the authenticator.Token interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 00:47:42 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  6. pkg/kubelet/images/image_manager.go

    }
    
    // imageManager provides the functionalities for image pulling.
    type imageManager struct {
    	recorder     record.EventRecorder
    	imageService kubecontainer.ImageService
    	backOff      *flowcontrol.Backoff
    	// It will check the presence of the image, and report the 'image pulling', image pulled' events correspondingly.
    	puller imagePuller
    
    	podPullingTimeRecorder ImagePodPullingTimeRecorder
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 08 00:30:31 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. pkg/security/retry.go

    }
    
    // grpcretry has no hooks to trigger logic on failure (https://github.com/grpc-ecosystem/go-grpc-middleware/issues/375)
    // Instead, we can wrap the backoff hook to log/increment metrics before returning the backoff result.
    func wrapBackoffWithMetrics(bf retry.BackoffFunc) retry.BackoffFunc {
    	return func(attempt uint) time.Duration {
    		wait := bf(attempt)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/authorization/authorizerfactory/delegating.go

    	DenyCacheTTL time.Duration
    
    	// WebhookRetryBackoff specifies the backoff parameters for the authorization webhook retry logic.
    	// This allows us to configure the sleep time at each iteration and the maximum number of retries allowed
    	// before we fail the webhook call in order to limit the fan out that ensues when the system is degraded.
    	WebhookRetryBackoff *wait.Backoff
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. pkg/controller/nodeipam/ipam/timeout.go

    // the operation. Consecutive errors will result in exponential backoff to a
    // maxBackoff timeout.
    type Timeout struct {
    	// Resync is the default timeout duration when there are no errors.
    	Resync time.Duration
    	// MaxBackoff is the maximum timeout when in a error backoff state.
    	MaxBackoff time.Duration
    	// InitialRetry is the initial retry interval when an error is reported.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 20:48:08 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ErrorHandlingModuleComponentRepository.java

                        LOGGER.debug("Error while accessing remote repository {}. Waiting {}ms before next retry. {} retries left", repositoryName, backoff, maxTentativesCount - retries, failure);
                        try {
                            Thread.sleep(backoff);
                            backoff *= 2;
                        } catch (InterruptedException e) {
                            throw UncheckedException.throwAsUncheckedException(e);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top