Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for maxLWorkers (0.07 seconds)

  1. cmd/bucket-replication.go

    		workers = WorkerAutoDefault
    		failedWorkers = MRFWorkerAutoDefault
    	}
    	if maxWorkers > 0 && workers > maxWorkers {
    		workers = maxWorkers
    	}
    
    	if maxWorkers > 0 && failedWorkers > maxWorkers {
    		failedWorkers = maxWorkers
    	}
    	maxLWorkers := LargeWorkerCount
    	if opts.MaxLWorkers > 0 {
    		maxLWorkers = opts.MaxLWorkers
    	}
    	pool := &ReplicationPool{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  2. cmd/handler-api.go

    	if t.replicationPriority == "" {
    		return replicationPoolOpts{
    			Priority:    "auto",
    			MaxWorkers:  WorkerMaxLimit,
    			MaxLWorkers: LargeWorkerCount,
    		}
    	}
    
    	return replicationPoolOpts{
    		Priority:    t.replicationPriority,
    		MaxWorkers:  t.replicationMaxWorkers,
    		MaxLWorkers: t.replicationMaxLWorkers,
    	}
    }
    
    func (t *apiConfig) getTransitionWorkers() int {
    	t.mu.RLock()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. .ci/scripts/run-gradle.sh

    if [ "$(uname -m)" = "arm64" ] || [ "$(uname -m)" = "aarch64" ]; then
       MAX_WORKERS=16
    elif [ -f /proc/cpuinfo ]; then
       MAX_WORKERS=`grep '^cpu\scores' /proc/cpuinfo  | uniq | sed 's/\s\+//g' |  cut -d':' -f 2`
    else
       if [[ "$OSTYPE" == "darwin"* ]]; then
          MAX_WORKERS=`sysctl -n hw.physicalcpu | sed 's/\s\+//g'`
       else
          echo "Unsupported OS Type: $OSTYPE"
          exit 1
       fi
    fi
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 13 19:08:52 GMT 2021
    - 824 bytes
    - Click Count (0)
  4. internal/logger/target/http/http.go

    func New(config Config) (*Target, error) {
    	maxWorkers := maxWorkers
    	if config.BatchSize > 100 {
    		maxWorkers = maxWorkersWithBatchEvents
    	} else if config.BatchSize <= 0 {
    		config.BatchSize = 1
    	}
    
    	h := &Target{
    		logCh:       make(chan any, config.QueueSize),
    		config:      config,
    		batchSize:   config.BatchSize,
    		maxWorkers:  int64(maxWorkers),
    		httpTimeout: config.HTTPTimeout,
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. cmd/notification.go

    	// further discussion advised. Remove this comment and remove the worker model
    	// for this function in future.
    	maxWorkers := runtime.GOMAXPROCS(0) / 2
    	ng := WithNPeersThrottled(len(sys.peerClients), maxWorkers)
    	for idx, client := range sys.peerClients {
    		if client == nil {
    			continue
    		}
    		client := client
    		ng.Go(ctx, func() error {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 46K bytes
    - Click Count (0)
Back to Top