Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for priority (0.04 seconds)

  1. cmd/bucket-replication.go

    	var workers, failedWorkers int
    	priority := "auto"
    	maxWorkers := WorkerMaxLimit
    	if opts.Priority != "" {
    		priority = opts.Priority
    	}
    	if opts.MaxWorkers > 0 {
    		maxWorkers = opts.MaxWorkers
    	}
    	switch priority {
    	case "fast":
    		workers = WorkerMaxLimit
    		failedWorkers = MRFWorkerMaxLimit
    	case "slow":
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  2. cmd/handler-api.go

    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if t.replicationPriority == "" {
    		return replicationPoolOpts{
    			Priority:    "auto",
    			MaxWorkers:  WorkerMaxLimit,
    			MaxLWorkers: LargeWorkerCount,
    		}
    	}
    
    	return replicationPoolOpts{
    		Priority:    t.replicationPriority,
    		MaxWorkers:  t.replicationMaxWorkers,
    		MaxLWorkers: t.replicationMaxLWorkers,
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. cmd/site-replication.go

    	})
    }
    
    func getPriorityHelper(replicationConfig replication.Config) int {
    	maxPrio := 0
    	for _, rule := range replicationConfig.Rules {
    		if rule.Priority > maxPrio {
    			maxPrio = rule.Priority
    		}
    	}
    
    	// leave some gaps in priority numbers for flexibility
    	return maxPrio + 10
    }
    
    // returns a slice with site names participating in site replciation but unspecified while adding
    // a new site.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (1)
Back to Top