Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ResizeFailedWorkers (0.11 sec)

  1. cmd/bucket-replication.go

    	}
    	p.priority = pri
    	p.maxWorkers = maxWorkers
    	p.mu.Unlock()
    	p.ResizeWorkers(workers, 0)
    	p.ResizeFailedWorkers(mrfWorkers)
    	p.ResizeLrgWorkers(maxLWorkers, 0)
    }
    
    // ResizeFailedWorkers sets replication failed workers pool size
    func (p *ReplicationPool) ResizeFailedWorkers(n int) {
    	p.mu.Lock()
    	defer p.mu.Unlock()
    
    	for p.mrfWorkerSize < n {
    		p.mrfWorkerSize++
    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