Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,991 for limitFn (0.47 sec)

  1. plugin/pkg/admission/limitranger/admission.go

    		limit := limitRange.Spec.Limits[i]
    		if limit.Type == corev1.LimitTypeContainer {
    			for k, v := range limit.DefaultRequest {
    				requirements.Requests[api.ResourceName(k)] = v.DeepCopy()
    			}
    			for k, v := range limit.Default {
    				requirements.Limits[api.ResourceName(k)] = v.DeepCopy()
    			}
    		}
    	}
    	return requirements
    }
    
    // mergeContainerResources handles defaulting all of the resources on a container.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 13:04:39 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  2. clause/limit_test.go

    			"SELECT * FROM `users` LIMIT ? OFFSET ?",
    			[]interface{}{limit10, 30},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Limit{Limit: &limit10, Offset: 20}, clause.Limit{Offset: 30}, clause.Limit{Offset: -10}},
    			"SELECT * FROM `users` LIMIT ?",
    			[]interface{}{limit10},
    		},
    		{
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. docs/minio-limits.md

    # MinIO Server Limits Per Tenant
    
    For optimal production setup MinIO recommends Linux kernel version 4.x and later.
    
    ## Erasure Code (Multiple Drives / Servers)
    
    | Item                                                            | Specification |
    |:----------------------------------------------------------------|:--------------|
    | Maximum number of servers per cluster                           | no-limit      |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. clause/limit.go

    // Limit limit clause
    type Limit struct {
    	Limit  *int
    	Offset int
    }
    
    // Name where clause name
    func (limit Limit) Name() string {
    	return "LIMIT"
    }
    
    // Build build where clause
    func (limit Limit) Build(builder Builder) {
    	if limit.Limit != nil && *limit.Limit >= 0 {
    		builder.WriteString("LIMIT ")
    		builder.AddVar(builder, *limit.Limit)
    	}
    	if limit.Offset > 0 {
    		if limit.Limit != nil && *limit.Limit >= 0 {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 942 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/waitgroup/ratelimited_waitgroup.go

    	return nil
    }
    
    // Done decrements the WaitGroup counter, rate limiting is applied only
    // when the wait group is in waiting mode.
    func (wg *RateLimitedSafeWaitGroup) Done() {
    	var limiter RateLimiter
    	func() {
    		wg.mu.Lock()
    		defer wg.mu.Unlock()
    
    		wg.count -= 1
    		if wg.wait {
    			// we are using the limiter outside the scope of the lock
    			limiter = wg.limiter
    		}
    	}()
    
    	defer wg.wg.Done()
    	if limiter != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 21 14:08:00 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. samples/ratelimit/local-rate-limit-service.yaml

    # This example shows how to use Istio local rate limiting with descriptors to limit by path. 
    # This uses the base book-info demo and adds rate limiting by path, specifically rate limiting the product page
    # to 10 requests per minute, and the overall fdqn will be able to accept 100 requests per minute. 
    apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
      name: filter-local-ratelimit-svc
      namespace: istio-system
    spec:
      workloadSelector:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 31 08:22:09 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/grpc/ratelimit.go

    func LimiterUnaryServerInterceptor(limiter Limiter) grpc.UnaryServerInterceptor {
    	return func(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error) {
    		if !limiter.Allow() {
    			return nil, ErrorLimitExceeded
    		}
    		return handler(ctx, req)
    	}
    }
    
    // WithRateLimiter creates new rate limiter with unary interceptor.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 07:22:23 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * target} object, enforcing the specified time limit on each call. This time-limited delegation
       * is also performed for calls to {@link Object#equals}, {@link Object#hashCode}, and {@link
       * Object#toString}.
       *
       * <p>If the target method call finishes before the limit is reached, the return value or
       * exception is propagated to the caller exactly as-is. If, on the other hand, the time limit is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/base/limit.go

    import (
    	"fmt"
    	"internal/godebug"
    	"runtime"
    	"strconv"
    	"sync"
    )
    
    var NetLimitGodebug = godebug.New("#cmdgonetlimit")
    
    // NetLimit returns the limit on concurrent network operations
    // configured by GODEBUG=cmdgonetlimit, if any.
    //
    // A limit of 0 (indicated by 0, true) means that network operations should not
    // be allowed.
    func NetLimit() (int, bool) {
    	netLimitOnce.Do(func() {
    		s := NetLimitGodebug.Value()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 02:47:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. cluster/gce/addons/limit-range/limit-range.yaml

    apiVersion: "v1"
    kind: "LimitRange"
    metadata:
      name: "limits"
      namespace: default
      labels:
        addonmanager.kubernetes.io/mode: EnsureExists
    spec:
      limits:
        - type: "Container"
          defaultRequest:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 06 20:10:12 UTC 2020
    - 226 bytes
    - Viewed (0)
Back to top