Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 175 for Attempts (0.06 sec)

  1. cmd/batch-expire.go

    					} else {
    						stopFn(exp, err)
    						success = true
    						break
    					}
    				}
    				ri.trackMultipleObjectVersions(exp, success)
    			}
    
    			// DeleteMultiple objects
    			toDelCopy := make([]ObjectToDelete, len(toDel))
    			for attempts := 1; attempts <= retryAttempts; attempts++ {
    				select {
    				case <-ctx.Done():
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 23K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        }
        assertEquals(expected, actual);
      }
    
      public void testCorrectOrdering_smallHeapsPollFirst() {
        for (int size = 2; size < 16; size++) {
          for (int attempts = 0; attempts < size * (size - 1); attempts++) {
            ArrayList<Integer> elements = createOrderedList(size);
            List<Integer> expected = ImmutableList.copyOf(elements);
            MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K 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/util/SmbCircuitBreaker.java

                }
    
                totalRequests.incrementAndGet();
    
                // Check half-open attempt limit
                if (currentState == State.HALF_OPEN) {
                    int attempts = halfOpenAttempts.incrementAndGet();
                    if (attempts > halfOpenMaxAttempts) {
                        log.warn("[{}] Exceeded max attempts in HALF_OPEN state, reopening circuit", name);
                        transitionTo(State.OPEN);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            // When/Then - Should retry for attempts 1 and 2
            assertTrue(exception.shouldRetry(1));
            assertTrue(exception.shouldRetry(2));
            assertFalse(exception.shouldRetry(3)); // Max attempts reached
    
            // Verify exponential backoff
            assertEquals(1000, exception.getRetryDelayMs(1));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

        )
    
        val call = client.newCall(Request(url))
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("hello from IPv6")
    
        // In the process we made two connection attempts including one failure.
        assertThat(listener.recordedEventTypes().filter { it == "ConnectStart" }).hasSize(1)
        assertThat(listener.recordedEventTypes().filter { it == "ConnectEnd" }).hasSize(1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. helm-releases/minio-1.0.2.tgz

    T:$MINIO_PORT" ; MC_COMMAND="${MC} config host add myminio $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT $ACCESS $SECRET" ; $MC_COMMAND ; STATUS=$? ; until [ $STATUS = 0 ] do ATTEMPTS=`expr $ATTEMPTS + 1` ; echo \"Failed attempts: $ATTEMPTS\" ; if [ $ATTEMPTS -gt $LIMIT ]; then exit 1 ; fi ; sleep 2 ; # 1 second intervals between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls`...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 24 18:58:05 UTC 2021
    - 13.6K bytes
    - Viewed (0)
  10. helm-releases/minio-3.0.1.tgz

    T:$MINIO_PORT" ; MC_COMMAND="${MC} config host add myminio $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT $ACCESS $SECRET" ; $MC_COMMAND ; STATUS=$? ; until [ $STATUS = 0 ] do ATTEMPTS=`expr $ATTEMPTS + 1` ; echo \"Failed attempts: $ATTEMPTS\" ; if [ $ATTEMPTS -gt $LIMIT ]; then exit 1 ; fi ; sleep 2 ; # 1 second intervals between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls`...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 02 01:47:43 UTC 2021
    - 13.8K bytes
    - Viewed (0)
Back to top