Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 205 for delay (0.11 sec)

  1. cmd/batch-job-common-types.go

    type BatchJobRetry struct {
    	line, col int
    	Attempts  int           `yaml:"attempts" json:"attempts"` // number of retry attempts
    	Delay     time.Duration `yaml:"delay" json:"delay"`       // delay between each retries
    }
    
    var _ yaml.Unmarshaler = &BatchJobRetry{}
    
    // UnmarshalYAML - BatchJobRetry extends unmarshal to extract line, column information
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. pkg/kubelet/runonce.go

    		}
    		// TODO(proppy): health checking would be better than waiting + checking the state at the next iteration.
    		klog.InfoS("Pod's containers synced, waiting", "pod", klog.KObj(pod), "duration", delay)
    		time.Sleep(delay)
    		retry++
    		delay *= runOnceRetryDelayBackoff
    	}
    	return nil
    }
    
    // isPodRunning returns true if all containers of a manifest are running.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

       */
      @Override
      protected void expectContents(Collection<E> expectedCollection) {
        List<E> expectedList = Helpers.copyToList(expectedCollection);
        // Avoid expectEquals() here to delay reason manufacture until necessary.
        if (getList().size() != expectedList.size()) {
          fail("size mismatch: " + reportContext(expectedList));
        }
        for (int i = 0; i < expectedList.size(); i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. pkg/controller/tainteviction/timed_workers.go

    	delay := fireAt.Sub(createdAt)
    	logger := klog.FromContext(ctx)
    	fWithErrorLogging := func() {
    		err := f(ctx, fireAt, args)
    		if err != nil {
    			logger.Error(err, "TaintEvictionController: timed worker failed")
    		}
    	}
    	if delay <= 0 {
    		go fWithErrorLogging()
    		return nil
    	}
    	timer := clock.AfterFunc(delay, fWithErrorLogging)
    	return &TimedWorker{
    		WorkItem:  args,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:23:56 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. cmd/batch-expire_test.go

        token: Bearer xxxxx # optional authentication token for the notification endpoint
      
      retry:
        attempts: 10 # number of retries for the job before giving up
        delay: 500ms # least amount of delay between each retry
    `
    	var job BatchJobRequest
    	err := yaml.UnmarshalStrict([]byte(expireYaml), &job)
    	if err != nil {
    		t.Fatal("Failed to parse batch-job-expire yaml", err)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top