Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 124 for limiter (0.47 sec)

  1. pkg/controller/podautoscaler/rate_limiters.go

    	return 1
    }
    
    // Forget indicates that an item is finished being retried.
    func (r *FixedItemIntervalRateLimiter) Forget(item string) {
    }
    
    // NewDefaultHPARateLimiter creates a rate limiter which limits overall (as per the
    // default controller rate limiter), as well as per the resync interval
    func NewDefaultHPARateLimiter(interval time.Duration) workqueue.TypedRateLimiter[string] {
    	return NewFixedItemIntervalRateLimiter(interval)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. pkg/controlplane/controller/legacytokentracking/controller.go

    	// rate limiter controls the rate limit of the creation of the configmap.
    	// this is useful in multi-apiserver cluster to prevent config existing in a
    	// cluster with mixed enabled/disabled controllers. otherwise, those
    	// apiservers will fight to create/delete until all apiservers are enabled
    	// or disabled.
    	creationRatelimiter *rate.Limiter
    	clock               clock.Clock
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. src/runtime/timestub.go

    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - gitee.com/quant1x/gox
    //   - github.com/phuslu/log
    //   - github.com/sethvargo/go-limiter
    //   - github.com/ulule/limiter/v3
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname time_now time.now
    func time_now() (sec int64, nsec int32, mono int64) {
    	sec, nsec = walltime()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 889 bytes
    - Viewed (0)
  4. internal/bucket/bandwidth/monitor.go

    	m.tlock.RLock()
    	defer m.tlock.RUnlock()
    	return m.bucketsThrottle[opts]
    }
    
    // SetBandwidthLimit sets the bandwidth limit for a bucket
    func (m *Monitor) SetBandwidthLimit(bucket, arn string, limit int64) {
    	m.tlock.Lock()
    	defer m.tlock.Unlock()
    	limitBytes := limit / int64(m.NodeCount)
    	throttle, ok := m.bucketsThrottle[BucketOptions{Name: bucket, ReplicationARN: arn}]
    	if !ok {
    		throttle = &bucketThrottle{}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/namespacecontroller.go

    	CACertNamespaceConfigMap = "istio-ca-root-cert"
    
    	// maxRetries is the number of times a namespace will be retried before it is dropped out of the queue.
    	// 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
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. pkg/controller/certificates/certificate_controller.go

    				// 10 qps, 100 bucket size.  This is only for retry speed and its only the overall factor (not per item)
    				&workqueue.TypedBucketRateLimiter[string]{Limiter: rate.NewLimiter(rate.Limit(10), 100)},
    			),
    			workqueue.TypedRateLimitingQueueConfig[string]{
    				Name: "certificate",
    			},
    		),
    		handler: handler,
    	}
    
    	// Manage the addition/update of certificate requests
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    ```Python hl_lines="6"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial003.py!}
    ```
    
    ## Description avancée de docstring
    
    Vous pouvez limiter le texte utilisé de la docstring d'une *fonction de chemin* qui sera affiché sur OpenAPI.
    
    L'ajout d'un `\f` (un caractère d'échappement "form feed") va permettre à **FastAPI** de tronquer la sortie utilisée pour OpenAPI à ce stade.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. pkg/controller/namespace/namespace_controller.go

    		// 10 qps, 100 bucket size.  This is only for retry speed and its only the overall factor (not per item)
    		&workqueue.TypedBucketRateLimiter[string]{Limiter: rate.NewLimiter(rate.Limit(10), 100)},
    	)
    }
    
    // enqueueNamespace adds an object to the controller work queue
    // obj could be an *v1.Namespace, or a DeletionFinalStateUnknown item.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/cel/limits.go

    Alexander Zielenski <******@****.***> 1709172273 -0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. src/syscall/rlimit.go

    var origRlimitNofile atomic.Pointer[Rlimit]
    
    // Some systems set an artificially low soft limit on open file count, for compatibility
    // with code that uses select and its hard-coded maximum file descriptor
    // (limited by the size of fd_set).
    //
    // Go does not use select, so it should not be subject to these limits.
    // On some systems the limit is 256, which is very easy to run into,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top