Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,027 for limiter (0.33 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/factory_test.go

    				// We don't use the context timeout because we want to check that
    				// the cached answer is not overridden, and since the rate limit is
    				// based on cfg.HealthcheckTimeout / 2, the timeout will race with
    				// the race limiter to server the new request from the cache or allow
    				// it to go through
    				if val == 1 {
    					select {
    					case <-ctx.Done():
    						return nil, ctx.Err()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 29 15:58:10 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  2. pkg/controller/servicecidrs/servicecidrs_controller.go

    		DeleteFunc: c.deleteServiceCIDR,
    	})
    	c.serviceCIDRLister = serviceCIDRInformer.Lister()
    	c.serviceCIDRsSynced = serviceCIDRInformer.Informer().HasSynced
    
    	_, _ = ipAddressInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
    		AddFunc:    c.addIPAddress,
    		DeleteFunc: c.deleteIPAddress,
    	})
    
    	c.ipAddressLister = ipAddressInformer.Lister()
    	c.ipAddressSynced = ipAddressInformer.Informer().HasSynced
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18K bytes
    - Viewed (0)
  3. src/runtime/mgc.go

    	clearpools()
    
    	work.cycles.Add(1)
    
    	// Assists and workers can start the moment we start
    	// the world.
    	gcController.startCycle(now, int(gomaxprocs), trigger)
    
    	// Notify the CPU limiter that assists may begin.
    	gcCPULimiter.startGCTransition(true, now)
    
    	// In STW mode, disable scheduling of user Gs. This may also
    	// disable scheduling of this goroutine, so it may block as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  4. src/runtime/mgcpacer.go

    	// That is, it'll reduce the heap goal by this many extra bytes off of the
    	// base calculation, at minimum.
    	memoryLimitMinHeapGoalHeadroom = 1 << 20
    
    	// memoryLimitHeapGoalHeadroomPercent is how headroom the memory-limit-based
    	// heap goal should have as a percent of the maximum possible heap goal allowed
    	// to maintain the memory limit.
    	memoryLimitHeapGoalHeadroomPercent = 3
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  5. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    	// - if the new state is "partialDisruption" we call a user defined function that returns a new limiter to use,
    	// - if the new state is "normal" we resume normal operation (go back to default limiter settings),
    	// - if new state is "fullDisruption" we restore normal eviction rate,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  6. pilot/pkg/xds/discovery.go

    	ProxyNeedsPush func(proxy *model.Proxy, req *model.PushRequest) bool
    
    	// concurrentPushLimit is a semaphore that limits the amount of concurrent XDS pushes.
    	concurrentPushLimit chan struct{}
    	// RequestRateLimit limits the number of new XDS requests allowed. This helps prevent thundering hurd of incoming requests.
    	RequestRateLimit *rate.Limiter
    
    	// InboundUpdates describes the number of configuration updates the discovery server has received
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 20:21:09 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. src/runtime/mgcmark.go

    func gcDumpObject(label string, obj, off uintptr) {
    	s := spanOf(obj)
    	print(label, "=", hex(obj))
    	if s == nil {
    		print(" s=nil\n")
    		return
    	}
    	print(" s.base()=", hex(s.base()), " s.limit=", hex(s.limit), " s.spanclass=", s.spanclass, " s.elemsize=", s.elemsize, " s.state=")
    	if state := s.state.get(); 0 <= state && int(state) < len(mSpanStateNames) {
    		print(mSpanStateNames[state], "\n")
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * acquire(10) request arriving. We serve the request partly from storedPermits, using all the
       * remaining 7.0 permits, and the remaining 3.0, we serve them by fresh permits produced by the
       * rate limiter.
       *
       * We already know how much time it takes to serve 3 fresh permits: if the rate is
       * "1 token per second", then this will take 3 seconds. But what does it mean to serve 7 stored
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * acquire(10) request arriving. We serve the request partly from storedPermits, using all the
       * remaining 7.0 permits, and the remaining 3.0, we serve them by fresh permits produced by the
       * rate limiter.
       *
       * We already know how much time it takes to serve 3 fresh permits: if the rate is
       * "1 token per second", then this will take 3 seconds. But what does it mean to serve 7 stored
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  10. src/runtime/mgcpacer_test.go

    				}
    			},
    		},
    		{
    			// The most basic test case with a memory limit: a steady-state heap.
    			// Growth to an O(MiB) heap, then constant heap size, alloc/scan rates.
    			// Provide a lot of room for the limit. Essentially, this should behave just like
    			// the "Steady" test. Note that we don't simulate non-heap overheads, so the
    			// memory limit and the heap limit are identical.
    			name:          "SteadyMemoryLimit",
    			gcPercent:     100,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 13:53:21 UTC 2023
    - 39.3K bytes
    - Viewed (0)
Back to top