Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for 2h0m0s (0.13 sec)

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

       * request, and ensure that (1/QPS) seconds have elapsed since then. For example, for a rate of
       * 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
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousBuildChangeReportingIntegrationTest.groovy

            when:
            succeeds("theTask", "-D${StartParameterBuildOptions.ContinuousBuildQuietPeriodOption.PROPERTY_NAME}=5000")
            inputFile1.createFile()
            // The regular 250ms quiet period would pick up two changes.
            Thread.sleep(1000)
            inputFile2.createFile()
    
            then:
            buildTriggeredAndSucceeded()
            sendEOT()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * request, and ensure that (1/QPS) seconds have elapsed since then. For example, for a rate of
       * 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
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  4. security/pkg/nodeagent/cache/secretcache_test.go

    	if err != nil {
    		t.Fatalf("failed to get secrets: %v", err)
    	}
    
    	// First update will trigger root cert immediately, then workload cert once it expires in 200ms
    	u.Expect(map[string]int{security.WorkloadKeyCertResourceName: 1, security.RootCertReqResourceName: 1})
    
    	_, err = sc.GenerateSecret(security.WorkloadKeyCertResourceName)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/helpers_linux.go

    func MilliCPUToQuota(milliCPU int64, period int64) (quota int64) {
    	// CFS quota is measured in two values:
    	//  - cfs_period_us=100ms (the amount of time to measure usage across given by period)
    	//  - cfs_quota=20ms (the amount of cpu time allowed to be used across a period)
    	// so in the above example, you are limited to 20% of a single CPU
    	// for multi-cpu environments, you just scale equivalent amounts
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 11:52:28 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  6. 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: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/config/validation/validation_test.go

    			conf.CPUCFSQuotaPeriod = metav1.Duration{Duration: 200 * time.Millisecond}
    			return conf
    		},
    		errMsg: "invalid configuration: cpuCFSQuotaPeriod (--cpu-cfs-quota-period) {200ms} requires feature gate CustomCPUCFSQuotaPeriod",
    	}, {
    		name: "invalid CPUCFSQuotaPeriod",
    		configure: func(conf *kubeletconfig.KubeletConfiguration) *kubeletconfig.KubeletConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  8. pkg/controller/deployment/deployment_controller.go

    	// With the current rate-limiter in use (5ms*2^(maxRetries-1)) the following numbers represent the times
    	// a deployment is going to be requeued:
    	//
    	// 5ms, 10ms, 20ms, 40ms, 80ms, 160ms, 320ms, 640ms, 1.3s, 2.6s, 5.1s, 10.2s, 20.4s, 41s, 82s
    	maxRetries = 15
    )
    
    // controllerKind contains the schema.GroupVersionKind for this controller type.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. pkg/controller/resourcequota/resource_quota_controller_test.go

    	//       resyncMonitors()
    	//       cache.WaitForNamedCacheSync() loops with `syncedPollPeriod` (hardcoded to 100ms), until either its stop channel is closed after `period`, or all caches synced.
    	//
    	// Setting the period to 200ms allows the WaitForCacheSync() to check
    	// for cache sync ~2 times in every wait.Until() loop.
    	//
    	// The 1s sleep in the test allows GetQuotableResources and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 16:29:33 UTC 2023
    - 42.6K bytes
    - Viewed (0)
  10. pilot/pkg/autoregistration/controller.go

    	// With the current rate-limiter in use (5ms*2^(maxRetries-1)) the following numbers represent the
    	// sequence of delays between successive queuings of a service.
    	//
    	// 5ms, 10ms, 20ms, 40ms, 80ms
    	maxRetries = 5
    )
    
    var log = istiolog.RegisterScope("wle", "wle controller debugging")
    
    type Controller struct {
    	instanceID string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 26.4K bytes
    - Viewed (0)
Back to top