Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for 800ms (0.05 sec)

  1. docs/bucket/replication/setup_2site_existing_replication.sh

    remote_arn=$(./mc replicate ls sitea/bucket --json | jq -r .rule.Destination.Bucket)
    sleep 1
    
    ./mc replicate resync start sitea/bucket/ --remote-bucket "${remote_arn}"
    sleep 30s ## sleep for 30s idea is that we give 300ms per object.
    
    ./mc ls -r --versions sitea/bucket >/tmp/sitea.txt
    ./mc ls -r --versions siteb/bucket >/tmp/siteb.txt
    
    out=$(diff -qpruN /tmp/sitea.txt /tmp/siteb.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * QPS=5 (5 tokens per second), if we ensure that a request isn't granted earlier than 200ms after
       * the last one, then we achieve the intended rate. If a request comes and the last request was
       * granted only 100ms ago, then we wait for another 100ms. At this rate, serving 15 fresh permits
       * (i.e. for an acquire(15) request) naturally takes 3 seconds.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  3. cmd/batch-expire_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(expireYaml), &job)
    	if err != nil {
    		t.Fatal("Failed to parse batch-job-expire yaml", err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        taskFaker.advanceUntil(ns(500L))
        taskFaker.advanceUntil(ns(1000L))
        client.listener.assertFailure(
          SocketTimeoutException::class.java,
          "sent ping but didn't receive pong within 500ms (after 0 successful ping/pongs)",
        )
      }
    
      @Test
      fun unexpectedPongsDoNotInterfereWithFailureDetection() {
        client.initWebSocket(random, pingIntervalMillis = 500)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. 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 {
    		t.Fatal("Failed to parse batch-job-replicate yaml", err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        }
        server.url("/b").toUrl().openConnection().getInputStream() // Should succeed.
      }
    
      /**
       * Throttle the request body by sleeping 500ms after every 3 bytes. With a 6-byte request, this
       * should yield one sleep for a total delay of 500ms.
       */
      @Test
      fun throttleRequest() {
        assumeNotWindows()
        server.enqueue(
          MockResponse()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        assertThat(inputStream!!.read()).isEqualTo('B'.code)
      }
    
      /**
       * Throttle the request body by sleeping 500ms after every 3 bytes. With a 6-byte request, this
       * should yield one sleep for a total delay of 500ms.
       */
      @Test
      fun throttleRequest() {
        assumeNotWindows()
        server.enqueue(
          MockResponse.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. docs/config/README.md

    Example: The following settings will increase the heal operation speed by allowing healing operation to run without delay up to `100` concurrent requests, and the maximum delay between each heal operation is set to `300ms`.
    
    ```sh
    ~ mc admin config set alias/ heal max_sleep=300ms max_io=100
    ```
    
    Once set the healer settings are automatically applied without the need for server restarts.
    
    ## Environment only settings (not in config)
    
    ### Browser
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. docs/batch-jobs/README.md

    	  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
    ```
    
    You can create and run multiple 'replication' jobs at a time there are no predefined limits set.
    
    ## Batch Jobs Terminology
    
    ### Job
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 06 06:00:43 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        val startNanos = System.nanoTime()
        assertFailsWith<InterruptedIOException> {
          stream.takeHeaders()
        }
        val elapsedNanos = System.nanoTime() - startNanos
        awaitWatchdogIdle()
        // 200ms delta
        assertThat(TimeUnit.NANOSECONDS.toMillis(elapsedNanos).toDouble())
          .isCloseTo(500.0, 200.0)
        assertThat(connection.openStreamCount()).isEqualTo(0)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
Back to top