Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 495 for DELAY (0.06 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/CancelCall.java

      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay.
            .build();
    
        final long startNanos = System.nanoTime();
        final Call call = client.newCall(request);
    
        // Schedule a job to cancel the call in 1 second.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  2. releasenotes/notes/envoy-eds-cache.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: traffic-management
    
    releaseNotes:
    - |
      **Enabled** the configuration to use endpoint cache at Envoy when there is a delay
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 19 09:51:48 UTC 2024
    - 233 bytes
    - Viewed (0)
  3. tests/integration/security/testdata/requestauthn/timeout.yaml.tmpl

    metadata:
      name: {{ .To.ServiceName }}
    spec:
      selector:
        matchLabels:
          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)
  4. tests/integration/telemetry/api/accesslogs_test.go

    			}
    		} else {
    			http = echo.HTTP{
    				Path: "/" + testID,
    			}
    		}
    		// For positive test, we use the same ID and repeatedly send requests and check the count
    		// Retry a bit to get the logs. There is some delay before they are output(MeshConfig will not take effect immediately),
    		// so they may not be immediately ready. If not ready, we retry sending a call again.
    		err := retry.UntilSuccess(func() error {
    			if hasTargetRef {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. pkg/controlplane/controller/legacytokentracking/controller.go

    	if err != nil {
    		return err
    	}
    
    	now := c.clock.Now()
    	if !exists {
    		r := c.creationRatelimiter.ReserveN(now, 1)
    		if delay := r.DelayFrom(now); delay > 0 {
    			c.queue.AddAfter(queueKey, delay)
    			r.CancelAt(now)
    			return nil
    		}
    
    		if _, err = c.configMapClient.ConfigMaps(metav1.NamespaceSystem).Create(context.TODO(), &corev1.ConfigMap{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. docs/recipes.md

          private val client = OkHttpClient()
    
          fun run() {
            val request = Request.Builder()
                .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay.
                .build()
    
            val startNanos = System.nanoTime()
            val call = client.newCall(request)
    
            // Schedule a job to cancel the call in 1 second.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_timeout_stdin.txt

    # Regression test for https://go.dev/issue/24050:
    # a test that exits with an I/O stream held open
    # should fail after a reasonable delay, not wait forever.
    # (As of the time of writing, that delay is 10% of the timeout,
    # but this test does not depend on its specific value.)
    
    [short] skip 'runs a test that hangs until its WaitDelay expires'
    
    ! go test -v -timeout=1m .
    
    	# After the test process itself prints PASS and exits,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 20:23:27 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. docs/en/docs/js/custom.js

                                }
                            });
                            dataValue = {};
                            if (isBlankSpace) {
                                dataValue["delay"] = 0;
                            }
                            if (buffer[buffer.length - 1] === "") {
                                // A last single <br> won't have effect
                                // so put an additional one
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 08 17:50:56 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  9. pkg/controller/storageversiongc/gc_controller_test.go

    	if err := clientset.CoordinationV1().Leases(metav1.NamespaceSystem).Delete(context.Background(), "kube-apiserver-1", metav1.DeleteOptions{}); err != nil {
    		t.Fatalf("error deleting lease object: %v", err)
    	}
    
    	// add a delay to ensure controller had a chance to reconcile
    	time.Sleep(2 * time.Second)
    
    	storageVersion, err := clientset.InternalV1alpha1().StorageVersions().Get(context.Background(), "k8s.test.resources", metav1.GetOptions{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 12:19:43 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. plugin/pkg/admission/eventratelimit/admission_test.go

    	return r
    }
    
    func (r request) blocked() request {
    	r.accepted = false
    	return r
    }
    
    // withDelay will adjust the clock to simulate the specified delay, in seconds
    func (r request) withDelay(delayInSeconds int) request {
    	r.delay = time.Duration(delayInSeconds) * time.Second
    	return r
    }
    
    // createSourceAndObjectKeyInclusionRequests creates a series of requests that can be used
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 17 13:19:08 UTC 2021
    - 15.6K bytes
    - Viewed (0)
Back to top