Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 302 for duration1 (0.08 sec)

  1. docs/throttle/README.md

    MinIO server allows to throttle incoming requests:
    
    - limit the number of active requests allowed across the cluster
    - limit the wait duration for each request in the queue
    
    These values are enabled using server's configuration or environment variables.
    
    ## Examples
    
    ### Configuring connection limit
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. internal/http/dial_others.go

    type DialContext func(ctx context.Context, network, address string) (net.Conn, error)
    
    // NewInternodeDialContext configures a custom dialer for internode communications
    func NewInternodeDialContext(dialTimeout time.Duration, _ TCPOptions) DialContext {
    	return func(ctx context.Context, network, addr string) (net.Conn, error) {
    		dialer := &net.Dialer{
    			Timeout: dialTimeout,
    		}
    		return dialer.DialContext(ctx, network, addr)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Apr 24 04:08:47 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-rebalance.go

    		FuncName:  fmt.Sprintf("rebalance.%s (pool-id=%d)", r.String(), poolIdx),
    		Duration:  duration,
    		Path:      path,
    		Error:     errStr,
    		Bytes:     sz,
    	}
    }
    
    func (p *rebalanceMetrics) log(r rebalanceMetric, poolIdx int, paths ...string) func(sz int64, err error) {
    	startTime := time.Now()
    	return func(sz int64, err error) {
    		duration := time.Since(startTime)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

       * simultaneously adopted and removed.
       */
      private val connections = ConcurrentLinkedQueue<RealConnection>()
    
      init {
        // Put a floor on the keep alive duration, otherwise cleanup will spin loop.
        require(keepAliveDuration > 0L) { "keepAliveDuration <= 0: $keepAliveDuration" }
      }
    
      fun idleConnectionCount(): Int {
        return connections.count {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskLogger.kt

        }
      }
    }
    
    private fun Logger.log(
      task: Task,
      queue: TaskQueue,
      message: String,
    ) {
      fine("${queue.name} ${String.format("%-22s", message)}: ${task.name}")
    }
    
    /**
     * Returns a duration in the nearest whole-number units like "999 µs" or "  1 s ". This rounds 0.5
     * units away from 0 and 0.499 towards 0. The smallest unit this returns is "µs"; the largest unit
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/jquery-3.7.1.min.js

    r:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in ce.fx.speeds?r.duration=ce.fx.speeds[r.duration]:r.duration=ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queu...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/AbstractCache.java

         *
         * @param loadTime the number of nanoseconds the cache spent computing or retrieving the new
         *     value
         */
        @SuppressWarnings("GoodTime") // should accept a java.time.Duration
        void recordLoadSuccess(long loadTime);
    
        /**
         * Records the failed load of a new entry. This should be called when a cache request causes an
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  8. internal/grid/grid.go

    			// No need to read more...
    			return b, nil
    		}
    	}
    }
    
    // getDeadline will truncate the deadline so it is at least 1ms and at most MaxDeadline.
    func getDeadline(d time.Duration) time.Duration {
    	if d < time.Millisecond {
    		return 0
    	}
    	if d > MaxDeadline {
    		return MaxDeadline
    	}
    	return d
    }
    
    type writerWrapper struct {
    	ch  chan<- []byte
    	ctx context.Context
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. internal/config/constants.go

    	EnvEndpoints  = "MINIO_ENDPOINTS"   // legacy
    	EnvWorm       = "MINIO_WORM"        // legacy
    	EnvRegion     = "MINIO_REGION"      // legacy
    	EnvRegionName = "MINIO_REGION_NAME" // legacy
    
    )
    
    // Expiration Token durations
    // These values are used to validate the expiration time range from
    // either the exp claim or MINI_STS_DURATION value
    const (
    	MinExpiration = 900
    	MaxExpiration = 31536000
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 01:18:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. cmd/tier.go

    func (config *TierConfigMgr) refreshTierConfig(ctx context.Context, objAPI ObjectLayer) {
    	const tierCfgRefresh = 15 * time.Minute
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	randInterval := func() time.Duration {
    		return time.Duration(r.Float64() * 5 * float64(time.Second))
    	}
    
    	// To avoid all MinIO nodes reading the tier config object at the same
    	// time.
    	t := time.NewTimer(tierCfgRefresh + randInterval())
    	defer t.Stop()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top