Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 503 for backref (0.23 sec)

  1. platforms/software/resources-gcs/src/main/java/org/gradle/internal/resource/transport/gcp/gcs/RetryHttpInitializerWrapper.java

                        // something specific to authentication, and no backoff is desired.
                        return true;
                    } else if (backoffHandler.handleResponse(request, response, supportsRetry)) {
                        // Otherwise, we defer to the judgement of our internal backoff handler.
                        LOG.info("Retrying {}", request.getUrl());
                        return true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. pkg/wasm/httpfetcher.go

    func (f *HTTPFetcher) Fetch(ctx context.Context, url string, allowInsecure bool) ([]byte, error) {
    	c := f.client
    	if allowInsecure {
    		c = f.insecureClient
    	}
    	attempts := 0
    	o := backoff.DefaultOption()
    	o.InitialInterval = f.initialBackoff
    	b := backoff.NewExponentialBackOff(o)
    	var lastError error
    	for attempts < f.requestMaxRetry {
    		attempts++
    		req, err := http.NewRequestWithContext(ctx, http.MethodGet, url, nil)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 14 20:23:34 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  3. maven-model-builder/src/main/java/org/apache/maven/model/building/StringModelSource.java

        /**
         * Creates a new model source backed by the specified string.
         *
         * @param pom The POM's string representation, may be empty or {@code null}.
         */
        public StringModelSource(CharSequence pom) {
            this(pom, null);
        }
    
        /**
         * Creates a new model source backed by the specified string.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. pkg/util/node/node.go

    // If required, it will wait for the node to be created.
    func GetNodeIP(client clientset.Interface, name string) net.IP {
    	var nodeIP net.IP
    	backoff := wait.Backoff{
    		Steps:    6,
    		Duration: 1 * time.Second,
    		Factor:   2.0,
    		Jitter:   0.2,
    	}
    
    	err := wait.ExponentialBackoff(backoff, func() (bool, error) {
    		node, err := client.CoreV1().Nodes().Get(context.TODO(), name, metav1.GetOptions{})
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 27 23:24:38 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. samples/ambient-argo/meta-application.yaml

        targetRevision: HEAD
        directory:
          include: application.yaml
      project: default
      syncPolicy:
        automated:
          prune: true
          selfHeal: true
        retry:
          limit: 2
          backoff:
            duration: 5s
            maxDuration: 3m0s
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 01:54:50 UTC 2023
    - 630 bytes
    - Viewed (0)
  6. pkg/util/goroutinemap/exponentialbackoff/exponential_backoff.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package exponentialbackoff contains logic for implementing exponential
    // backoff for GoRoutineMap and NestedPendingOperations.
    package exponentialbackoff
    
    import (
    	"fmt"
    	"time"
    )
    
    const (
    	// initialDurationBeforeRetry is the amount of time after an error occurs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 19 03:30:46 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/schedulinggates/scheduling_gates_test.go

    		pod            *v1.Pod
    		oldObj, newObj interface{}
    		expectedHint   framework.QueueingHint
    		expectedErr    bool
    	}{
    		"backoff-wrong-old-object": {
    			pod:          &v1.Pod{},
    			oldObj:       "not-a-pod",
    			expectedHint: framework.Queue,
    			expectedErr:  true,
    		},
    		"backoff-wrong-new-object": {
    			pod:          &v1.Pod{},
    			newObj:       "not-a-pod",
    			expectedHint: framework.Queue,
    			expectedErr:  true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go

    	// failed:
    	// - If the previous operation has the same
    	//   generatedOperations.operationName:
    	//   - If the full exponential backoff period is satisfied, the operation is
    	//     allowed to proceed.
    	//   - Otherwise, an ExponentialBackoff error is returned.
    	// - Otherwise, exponential backoff is reset and operation is allowed to
    	//   proceed.
    
    	// Once the operation is complete, the go routine is terminated. If the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 01:29:17 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  9. maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

        /**
         * Creates a new model source backed by the specified file.
         *
         * @param pomFile The POM file, must not be {@code null}.
         * @deprecated Use {@link #FileModelSource(Path)} instead.
         */
        @Deprecated
        public FileModelSource(File pomFile) {
            super(pomFile);
        }
    
        /**
         * Creates a new model source backed by the specified file.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/TransportProvider.java

     * This API does not try to cover all the requirements out there, just the basic ones, and is intentionally simple.
     * If plugin or extension needs anything more complex feature wise (i.e. HTTP range support or alike) it should
     * probably roll its own.
     * <p>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top