Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for retry (0.02 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

            this.client = client;
        }
    
        /**
         * Returns the maximum retry count.
         * @return The maximum retry count.
         */
        public int getMaxRetryCount() {
            return maxRetryCount;
        }
    
        /**
         * Sets the maximum retry count.
         * @param maxRetryCount The maximum retry count.
         */
        public void setMaxRetryCount(final int maxRetryCount) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. cmd/batch-replicate_test.go

    #      token: "Bearer xxxxx" # optional authentication token for the notification endpoint
    #
    #    retry:
    #      attempts: 10 # number of retries for the job before giving up
    #      delay: "500ms" # least amount of delay between each retry
    
    `
    	var job BatchJobRequest
    	err := yaml.Unmarshal([]byte(replicateYaml), &job)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbException.java

        }
    
        /**
         * Checks if retry should be attempted
         *
         * @return true if retry is recommended
         */
        public boolean shouldRetry() {
            return severity == Severity.RECOVERABLE || severity == Severity.TRANSIENT;
        }
    
        /**
         * Gets recommended retry delay in milliseconds
         *
         * @return retry delay or 0 if no retry
         */
        public long getRetryDelay() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

        )
        assertThat(callbacks.remove()).isEqualTo(Event("1", null, "first event"))
        assertThat(callbacks.remove()).isEqualTo(Event("1", null, "second event"))
      }
    
      @Test
      fun retry() {
        consumeEvents(
          """
          |retry: 22
          |
          |data: first event
          |id: 1
          |
          |
          """.trimMargin(),
        )
        assertThat(callbacks.remove()).isEqualTo(22L)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. cmd/batch-job-common-types.go

    	}
    
    	*b = BatchJobNotification(tmp)
    	b.line, b.col = val.Line, val.Column
    	return nil
    }
    
    // BatchJobRetry stores retry configuration used in the event of failures.
    type BatchJobRetry struct {
    	line, col int
    	Attempts  int           `yaml:"attempts" json:"attempts"` // number of retry attempts
    	Delay     time.Duration `yaml:"delay" json:"delay"`       // delay between each retries
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/AddressPolicy.kt

       */
      @JvmField val minimumConcurrentCalls: Int = 0,
      /** How long to wait to retry pre-emptive connection attempts that fail. */
      @JvmField val backoffDelayMillis: Long = 60 * 1000,
      /** How much jitter to introduce in connection retry backoff delays */
      @JvmField val backoffJitterMillis: Int = 100,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

        }
    
        /**
         * Get the maximum number of retry attempts
         * @return the maximum retries
         */
        public int getMaxRetries() {
            return maxRetries;
        }
    
        /**
         * Get the base retry delay
         * @return the retry delay in milliseconds
         */
        public long getRetryDelay() {
            return retryDelay;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (1)
  8. cmd/os-reliable.go

    		if err = osMkdirAll(dirPath, mode, baseDir); err != nil {
    			// Retry only for the first retryable error.
    			if osIsNotExist(err) && i == 0 {
    				i++
    				// Determine if os.NotExist error is because of
    				// baseDir's parent being present, retry it once such
    				// that the MkdirAll is retried once for the parent
    				// of dirPath.
    				// Because it is worth a retry to skip a different
    				// baseDir which is slightly higher up the depth.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Apr 22 17:49:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

        var tlsConnectDelayNanos = 0L
        var tlsConnectThrowable: Throwable? = null
        var connectTlsNextPlan: FakePlan? = null
    
        fun createRetry(): FakePlan {
          check(retry == null)
          return FakePlan(nextPlanId++)
            .also {
              retry = it
            }
        }
    
        fun createConnectTcpNextPlan(): FakePlan {
          check(connectTcpNextPlan == null)
          return FakePlan(nextPlanId++)
            .also {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. buildscripts/verify-healing-empty-erasure-set.sh

    	# Wait for Status: in MinIO output
    	while true; do
    		rv=$(check_online)
    		if [ "$rv" != "1" ]; then
    			# success
    			break
    		fi
    
    		# Check if we should retry
    		retry=$((retry + 1))
    		if [ $retry -le 20 ]; then
    			sleep 5
    			continue
    		fi
    
    		# Failure
    		fail
    	done
    
    	if ! ps -p $pid1 1>&2 >/dev/null; then
    		echo "minio-server-1 is not running." && fail
    	fi
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top