Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 22 for throttle (0.12 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(server.takeRequest().exchangeIndex).isEqualTo(1)
      }
    
      /**
       * Test to ensure we don't  throw a read timeout on responses that are progressing.  For this
       * case, we take a 4KiB body and throttle it to 1KiB/second.  We set the read timeout to two
       * seconds.  If our implementation is acting correctly, it will not throw, as it is progressing.
       */
      @Test
      fun readTimeoutMoreGranularThanBodySize() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 67.4K bytes
    - Click Count (0)
  2. CHANGELOG/CHANGELOG-1.2.md

      * Multiple fixes to EBS volume mounting code for robustness, and to support
    mounting the full number of AWS recommended volumes.
      * Multiple fixes to avoid hitting AWS rate limits, and to throttle if we do
      * Support for the EC2 Container Registry (currently in us-east-1 only)
    
    With kube-up:
    
      * Automatically install updates on boot & reboot
      * Use optimized image based on Jessie by default
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Fri Dec 04 06:36:19 GMT 2020
    - 41.4K bytes
    - Click Count (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/internal/ThrottledSink.kt

     * limitations under the License.
     *
     */
    package mockwebserver3.internal
    
    import okio.Buffer
    import okio.Sink
    
    /**
     * A sink that sleeps [periodDelayNanos] every [bytesPerPeriod] bytes. Unlike [okio.Throttler],
     * this permits any interval to be used.
     */
    internal class ThrottledSink(
      private val socket: MockWebServerSocket,
      private val delegate: Sink,
      private val bytesPerPeriod: Long,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Jul 29 12:43:16 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

       * be received. The default implementation returns an empty response. Mischievous implementations
       * can return other values to test HTTP edge cases, such as unhappy socket policies or throttled
       * request bodies.
       */
      public open fun peek(): MockResponse = MockResponse()
    
      /**
       * Release any resources held by this dispatcher. Any requests that are currently being dispatched
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. cmd/handler-api.go

    }
    
    func (t *apiConfig) getRequestsPool() chan struct{} {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if t.requestsPool == nil {
    		return nil
    	}
    
    	return t.requestsPool
    }
    
    // maxClients throttles the S3 API calls
    func maxClients(f http.HandlerFunc) http.HandlerFunc {
    	return func(w http.ResponseWriter, r *http.Request) {
    		globalHTTPStats.incS3RequestsIncoming()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

            this.onResponseEnd = socketEffect
          }
    
        public fun shutdownServer(shutdownServer: Boolean): Builder =
          apply {
            this.shutdownServer = shutdownServer
          }
    
        /**
         * Throttles the request reader and response writer to sleep for the given period after each
         * series of [bytesPerPeriod] bytes are transferred. Use this to simulate network behavior.
         */
        public fun throttleBody(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  7. CHANGELOG/CHANGELOG-1.12.md

    - The scheduler is now optimized to throttle computational tasks involved with node selection. ([#67555](https://github.com/kubernetes/kubernetes/pull/67555), [@wgliang](https://github.com/wgliang)) Courtesy of SIG API Machinery, and SIG Scheduling
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu Feb 06 06:04:15 GMT 2020
    - 293.8K bytes
    - Click Count (0)
  8. CHANGELOG/CHANGELOG-1.31.md

    - Kubemark: added two flags, `--kube-api-qps` which indicates the maximum QPS to the apiserver, and `--kube-api-burst` which indicates maximum burst for throttle to the apiserver. ([#124147](https://github.com/kubernetes/kubernetes/pull/124147), [@devincd](https://github.com/devincd))
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Wed Nov 12 11:33:21 GMT 2025
    - 451.9K bytes
    - Click Count (0)
  9. RELEASE.md

            newcomers.
        *   Clarified documentation on `resize_images.align_corners` parameter.
        *   Additional documentation for TPUs.
    *   Google Cloud Storage (GCS):
        *   Add client-side throttle.
        *   Add a `FlushCaches()` method to the FileSystem interface, with an
            implementation for GcsFileSystem.
    *   Other:
        *   Add `tf.contrib.distributions.Kumaraswamy`.
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Tue Oct 28 22:27:41 GMT 2025
    - 740.4K bytes
    - Click Count (3)
  10. cmd/data-scanner.go

    	scannerCycle                         = uatomic.NewDuration(dataScannerStartDelay)
    	scannerIdleMode                      = uatomic.NewInt32(0) // default is throttled when idle
    	scannerExcessObjectVersions          = uatomic.NewInt64(100)
    	scannerExcessObjectVersionsTotalSize = uatomic.NewInt64(1024 * 1024 * 1024 * 1024) // 1 TB
    	scannerExcessFolders                 = uatomic.NewInt64(50000)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 45.5K bytes
    - Click Count (0)
Back to Top