Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for rduration (0.49 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"self.durations.sum() == duration('1h2m1s')",
    				"self.durations.min() == duration('1s')",
    				"self.durations.max() == duration('1h')",
    				"self.emptyDurations.sum() == duration('0')",
    				"self.durations.isSorted()",
    				"self.emptyDurations.isSorted()",
    				"self.unsortedDurations.isSorted() == false",
    				"self.durations.indexOf(duration('1m')) == 1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet.go

    			klog.ErrorS(err, "Skipping pod synchronization")
    			// exponential backoff
    			time.Sleep(duration)
    			duration = time.Duration(math.Min(float64(max), factor*float64(duration)))
    			continue
    		}
    		// reset backoff if we have a success
    		duration = base
    
    		kl.syncLoopMonitor.Store(kl.clock.Now())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  3. pkg/config/validation/validation_test.go

    	type durationCheck struct {
    		duration time.Duration
    		isValid  bool
    	}
    	durMin, _ := time.ParseDuration("-30m")
    	durHr, _ := time.ParseDuration("-1.5h")
    	checks := []durationCheck{
    		{
    			duration: 30 * time.Minute,
    			isValid:  true,
    		},
    		{
    			duration: durMin,
    			isValid:  false,
    		},
    		{
    			duration: durHr,
    			isValid:  false,
    		},
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    	durationStr := r.Form.Get(peerRESTDuration)
    	duration, err := time.ParseDuration(durationStr)
    	if err != nil {
    		duration = globalNetPerfMinDuration
    	}
    
    	if duration < globalNetPerfMinDuration {
    		// We need sample size of minimum 10 secs.
    		duration = globalNetPerfMinDuration
    	}
    
    	duration = duration.Round(time.Second)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  5. src/net/http/serve_test.go

    // runTimeSensitiveTest runs test with the provided durations until one passes.
    // If they all fail, t.Fatal is called with the last one's duration and error value.
    func runTimeSensitiveTest(t *testing.T, durations []time.Duration, test func(t *testing.T, d time.Duration) error) {
    	for i, d := range durations {
    		err := test(t, d)
    		if err == nil {
    			return
    		}
    		if i == len(durations)-1 || t.Failed() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster_builder_test.go

    					IdleTimeout: &durationpb.Duration{
    						Seconds: 10,
    					},
    				},
    				Http: &networking.ConnectionPoolSettings_HTTPSettings{
    					IdleTimeout: &durationpb.Duration{
    						Seconds: 20,
    					},
    				},
    			},
    			expectedHTTPPOpt: &http.HttpProtocolOptions{
    				CommonHttpProtocolOptions: &core.HttpProtocolOptions{
    					IdleTimeout: &durationpb.Duration{
    						Seconds: 20,
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    		if err := p.loadResync(ctx, buckets, objAPI); err == nil {
    			<-ctx.Done()
    			return
    		}
    		duration := time.Duration(r.Float64() * float64(time.Minute))
    		if duration < time.Second {
    			// Make sure to sleep at least a second to avoid high CPU ticks.
    			duration = time.Second
    		}
    		time.Sleep(duration)
    	}
    }
    
    // Loads bucket replication resync statuses into memory.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  8. pkg/controller/podautoscaler/horizontal_test.go

    			prevScaleEvents: []timestampedScaleEvent{
    				{8, time.Now().Add(-time.Second * time.Duration(29)), false},
    				{6, time.Now().Add(-time.Second * time.Duration(59)), false},
    				{7, time.Now().Add(-time.Second * time.Duration(61)), false}, // outdated event, should be marked as outdated
    				{9, time.Now().Add(-time.Second * time.Duration(61)), false}, // outdated event, should be replaced
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  9. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	tests := []struct {
    		name    string
    		podInfo *framework.QueuedPodInfo
    		hint    framework.QueueingHintFn
    		// duration is the duration that the Pod has been in the unschedulable queue.
    		duration time.Duration
    		// expectedQ is the queue name (activeQ, backoffQ, or unschedulablePods) that this Pod should be quened to.
    		expectedQ string
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster_test.go

    	}
    }
    
    func getSlowStartTrafficPolicy(slowStartEnabled bool, lbType networking.LoadBalancerSettings_SimpleLB) *networking.TrafficPolicy {
    	var warmupDurationSecs *durationpb.Duration
    	if slowStartEnabled {
    		warmupDurationSecs = &durationpb.Duration{Seconds: 15}
    	}
    	return &networking.TrafficPolicy{
    		LoadBalancer: &networking.LoadBalancerSettings{
    			LbPolicy: &networking.LoadBalancerSettings_Simple{
    				Simple: lbType,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
Back to top