Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for priority (0.14 sec)

  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":
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  2. 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.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
Back to top