Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for throttling (0.05 seconds)

  1. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

      /*
       * How is the RateLimiter designed, and why?
       *
       * The primary feature of a RateLimiter is its "stable rate", the maximum rate that it should
       * allow in normal conditions. This is enforced by "throttling" incoming requests as needed. For
       * example, we could compute the appropriate throttle time for an incoming request, and make the
       * calling thread wait for that time.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  2. internal/bucket/bandwidth/monitor.go

    type bucketThrottle struct {
    	*rate.Limiter
    	NodeBandwidthPerSec int64
    }
    
    // Monitor holds the state of the global bucket monitor
    type Monitor struct {
    	tlock sync.RWMutex // mutex for bucket throttling
    	mlock sync.RWMutex // mutex for bucket measurement
    
    	bucketsThrottle    map[BucketOptions]*bucketThrottle
    	bucketsMeasurement map[BucketOptions]*bucketMeasurement // Buckets with objects in flight
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  3. docs/config/README.md

    ```
    KEY:
    api  manage global HTTP API call specific features, such as throttling, authentication types, etc.
    
    ARGS:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 18.1K bytes
    - Click Count (1)
  4. cmd/api-router.go

    	noGZS3HFlag = 1 << iota
    
    	// when provided, enables only tracing of headers. Otherwise, both headers
    	// and body are traced.
    	traceHdrsS3HFlag
    
    	// when provided, disables throttling via the `maxClients` middleware.
    	noThrottleS3HFlag
    )
    
    func (h s3HFlag) has(flag s3HFlag) bool {
    	// Use bitwise-AND and check if the result is non-zero.
    	return h&flag != 0
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertEvents(
            "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #1
            "U4.50", // #2
            "R0.00, R1.38, R1.13", // #3, after that the rate changes
            "R0.88", // #4, this is what the throttling would be with the old rate
            "R0.34, R0.28, R0.25, R0.25", // #5
            "U4.25", // #6
            "R0.00, R0.72, R0.66, R0.59, R0.53, R0.47, R0.41", // #7
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertEvents(
            "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #1
            "U4.50", // #2
            "R0.00, R1.38, R1.13", // #3, after that the rate changes
            "R0.88", // #4, this is what the throttling would be with the old rate
            "R0.34, R0.28, R0.25, R0.25", // #5
            "U4.25", // #6
            "R0.00, R0.72, R0.66, R0.59, R0.53, R0.47, R0.41", // #7
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  7. cmd/bucket-targets.go

    	return nil
    }
    
    func (sys *BucketTargetSys) updateBandwidthLimit(bucket, arn string, limit int64) {
    	if limit == 0 {
    		globalBucketMonitor.DeleteBucketThrottle(bucket, arn)
    		return
    	}
    	// Setup bandwidth throttling
    
    	globalBucketMonitor.SetBandwidthLimit(bucket, arn, limit)
    }
    
    // RemoveTarget - removes a remote bucket target for this source bucket.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            return -1;
        }
    
        /**
         * Retrieves a list of access results from the data service for processing.
         * Filters out results that are too recent based on commit margin time and manages crawler throttling.
         *
         * @param cb the consumer to customize the search request
         * @param cleanupTime the time taken for the last cleanup operation
         * @return the list of access results ready for processing
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  9. cmd/config-current.go

    			Key:         config.SiteSubSys,
    			Description: "label the server and its location",
    		},
    		config.HelpKV{
    			Key:         config.APISubSys,
    			Description: "manage global HTTP API call specific features, such as throttling, authentication types, etc.",
    		},
    		config.HelpKV{
    			Key:         config.ScannerSubSys,
    			Description: "manage namespace scanning for usage calculation, lifecycle, healing and more",
    		},
    		config.HelpKV{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 28.5K bytes
    - Click Count (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          sink.writeUtf8(name)
          sink.writeUtf8(": ")
          sink.writeUtf8(value)
          sink.writeUtf8("\r\n")
        }
        sink.writeUtf8("\r\n")
        sink.flush()
      }
    
      /** Returns a sink that applies throttling and disconnecting. */
      private fun Sink.withThrottlingAndSocketEffect(
        policy: MockResponse,
        socketEffect: SocketEffect?,
        expectedByteCount: Long,
        socket: MockWebServerSocket,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 02 20:36:00 GMT 2025
    - 40.3K bytes
    - Click Count (0)
Back to Top