Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 347 for attempted (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt

        // MODERN_TLS is used here.
        val attempt0 =
          routePlanner
            .planConnectToRoute(route)
            .planWithCurrentOrInitialConnectionSpec(connectionSpecs, socket)
        assertThat(attempt0.isTlsFallback).isFalse()
        connectionSpecs[attempt0.connectionSpecIndex].apply(socket, attempt0.isTlsFallback)
        assertEnabledProtocols(socket, TlsVersion.TLS_1_2)
        val attempt1 = attempt0.nextConnectionSpec(connectionSpecs, socket)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    	}
    	return time.Unix(0, x.versions[0].header.ModTime)
    }
    
    func (x *xlMetaV2) addVersion(ver xlMetaV2Version) error {
    	modTime := ver.getModTime().UnixNano()
    	if !ver.Valid() {
    		return errors.New("attempted to add invalid version")
    	}
    	encoded, err := ver.MarshalMsg(nil)
    	if err != nil {
    		return err
    	}
    
    	// returns error if we have exceeded configured object max versions
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 65.6K bytes
    - Viewed (1)
  3. cmd/bucket-replication.go

    	var uploadID string
    	attempts := 1
    	for attempts <= 3 {
    		nctx, cancel := context.WithTimeout(ctx, time.Minute)
    		uploadID, err = c.NewMultipartUpload(nctx, bucket, object, opts)
    		cancel()
    		if err == nil {
    			break
    		}
    		if minio.ToErrorResponse(err).Code == "PreconditionFailed" {
    			return nil
    		}
    		attempts++
    		time.Sleep(time.Duration(rand.Int63n(int64(time.Second))))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

     *
     *  3. Attempt plans from prior connect attempts for this call. These occur as either follow-ups to
     *     failed connect attempts (such as trying the next [ConnectionSpec]), or as attempts that lost
     *     a race in fast follow-up.
     *
     *  4. If there's no existing connection, make a list of routes (which may require blocking DNS
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/AuthenticationRateLimiter.java

        }
    
        /**
         * Create rate limiter with custom settings
         *
         * @param maxAttemptsPerAccount max failed attempts per account before lockout
         * @param maxAttemptsPerIp max attempts from single IP
         * @param maxGlobalAttemptsPerMinute max global attempts per minute
         * @param lockoutDuration duration to lock out account/IP
         * @param cleanupInterval interval for cleaning up old entries
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

                        originalCause));
            }
    
            return CompletableFuture.supplyAsync(() -> {
                try {
                    // Wait before retry (except first attempt)
                    if (attempt > 0) {
                        long delay = retryDelay * (1L << attempt); // Exponential backoff
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.33.md

    The kubelet ensures any image requiring credential verification is always pulled if authentication information from an image pull is not yet present, thus enforcing authentication / re-authentication. This means an image pull might be attempted even in cases where a pod requests the `IfNotPresent` image pull policy, and might lead to the pod not starting if its pull policy is `Never` and is unable to present authentication information that led to a previous successful pull of the image...
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 13 19:46:23 UTC 2025
    - 294.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

                } catch (Exception recoveryError) {
                    log.warn("RDMA recovery attempt {} failed: {}", retryCount, recoveryError.getMessage());
    
                    // If this was the last attempt, log the full error
                    if (retryCount >= maxRetries) {
                        log.error("All RDMA recovery attempts failed", recoveryError);
                    }
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

        @BeforeEach
        public void setUp() {
            // Create rate limiter with test-friendly settings
            rateLimiter = new AuthenticationRateLimiter(3, // max attempts per account
                    5, // max attempts per IP
                    20, // max global attempts per minute
                    Duration.ofSeconds(2), // short lockout for testing
                    Duration.ofMinutes(1) // cleanup interval
            );
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt

     * 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
     * private int responseCount(Response response) {
     *   int result = 1;
     *   while ((response = response.priorResponse()) != null) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top