Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for 10ms (0.04 sec)

  1. tests/integration/security/testdata/requestauthn/timeout.yaml.tmpl

          app: {{ .To.ServiceName }}
      jwtRules:
      - issuer: "******@****.***"
        jwksUri: "{{ .JWTServer.JwksURI }}?delay=500ms"
        outputPayloadToHeader: "x-test-payload"
        forwardOriginalToken: true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 23:24:31 UTC 2024
    - 370 bytes
    - Viewed (0)
  2. subprojects/core/src/testFixtures/groovy/org/gradle/internal/time/MockClock.java

        }
    
        public MockClock(long startTime) {
            current = startTime;
        }
    
        public void increment(long diff) {
            current += diff;
        }
    
        /** Increments the time by 10ms and returns it. */
        @Override
        public long getCurrentTime() {
            current += 10L;
            return current;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 13 03:50:47 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  3. src/time/tick_test.go

    	// See go.dev/issue/21874.
    	c := make(chan Time)
    	tick := &Ticker{C: c}
    	tick.Stop()
    }
    
    func TestAfterTimes(t *testing.T) {
    	t.Parallel()
    	// Using After(10ms) but waiting for 500ms to read the channel
    	// should produce a time from start+10ms, not start+500ms.
    	// Make sure it does.
    	// To avoid flakes due to very long scheduling delays,
    	// require 10 failures in a row before deciding something is wrong.
    	for range 10 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. pkg/controller/nodelifecycle/metrics.go

    			Help:           "Duration in seconds for NodeController to update the health of all nodes.",
    			Buckets:        metrics.ExponentialBuckets(0.01, 4, 8), // 10ms -> ~3m
    			StabilityLevel: metrics.ALPHA,
    		},
    	)
    )
    
    var registerMetrics sync.Once
    
    // Register the metrics that are to be monitored.
    func Register() {
    	registerMetrics.Do(func() {
    		legacyregistry.MustRegister(zoneHealth)
    		legacyregistry.MustRegister(zoneSize)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 21:55:34 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. tests/integration/security/remote_jwks/remote_jwks_test.go

    							}))
    					},
    				},
    				{
    					name:       "remote-jwks-with-service-entry",
    					policyFile: "./testdata/requestauthn-with-se-timeout.yaml.tmpl",
    					timeout:    "10ms",
    					delay:      "30ms",
    					customizeCall: func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions) {
    						opts.HTTP.Path = "/valid-token-forward-remote-jwks"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. pkg/scheduler/metrics/metrics.go

    			Subsystem: SchedulerSubsystem,
    			Name:      "pod_scheduling_duration_seconds",
    			Help:      "E2e latency for a pod being scheduled which may include multiple scheduling attempts.",
    			// Start with 10ms with the last bucket being [~88m, Inf).
    			Buckets:           metrics.ExponentialBuckets(0.01, 2, 20),
    			StabilityLevel:    metrics.STABLE,
    			DeprecatedVersion: "1.29.0",
    		},
    		[]string{"attempts"})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 08:22:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/namespacecontroller.go

    	// With the current rate-limiter in use (5ms*2^(maxRetries-1)) the following numbers represent the
    	// sequence of delays between successive queuing of a namespace.
    	//
    	// 5ms, 10ms, 20ms, 40ms, 80ms
    	maxRetries = 5
    )
    
    var configMapLabel = map[string]string{"istio.io/config": "true"}
    
    // NamespaceController manages reconciles a configmap in each namespace with a desired set of data.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. test/chan/select3.go

    			// Wait a long time to make sure that we don't miss our window by accident on a slow machine.
    			time.Sleep(10 * time.Second)
    		} else {
    			// Wait as short a time as we can without false negatives.
    			// 10ms should be long enough to catch most failures.
    			time.Sleep(10 * time.Millisecond)
    		}
    		c <- always // f blocked always
    	}()
    	if <-c != signal {
    		panic(signal + " block")
    	}
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 08 02:10:12 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                    localRepository.getBasedir(), localRepository.pathOfLocalRepositoryMetadata(this, remoteRepository));
    
            if (metadataFile.length() == 0) {
                if (!metadataFile.delete()) {
                    // sleep for 10ms just in case this is windows holding a file lock
                    try {
                        Thread.sleep(10);
                    } catch (InterruptedException e) {
                        // ignore
                    }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/wait/wait_test.go

    		<-backoffMgr.Backoff().C()
    		passed := time.Since(start)
    		if passed < 1*time.Millisecond {
    			t.Errorf("backoff should be at least 1ms, but got %s", passed.String())
    		}
    	}
    }
    
    func TestExponentialBackoffManagerWithRealClock(t *testing.T) {
    	// backoff at least 1ms, 2ms, 4ms, 8ms, 10ms, 10ms, 10ms
    	durationFactors := []time.Duration{1, 2, 4, 8, 10, 10, 10}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 41.1K bytes
    - Viewed (0)
Back to top