Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ResizeWorkerPriority (0.15 sec)

  1. cmd/bucket-replication.go

    	for len(p.workers) > n {
    		worker := p.workers[len(p.workers)-1]
    		p.workers = p.workers[:len(p.workers)-1]
    		xioutil.SafeClose(worker)
    	}
    }
    
    // ResizeWorkerPriority sets replication failed workers pool size
    func (p *ReplicationPool) ResizeWorkerPriority(pri string, maxWorkers, maxLWorkers int) {
    	var workers, mrfWorkers int
    	p.mu.Lock()
    	switch pri {
    	case "fast":
    		workers = WorkerMaxLimit
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top