Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Account (0.17 sec)

  1. cmd/bucket-replication.go

    // checkOld can be set to an expected value.
    // If the worker count changed
    func (p *ReplicationPool) ResizeWorkers(n, checkOld int) {
    	p.mu.Lock()
    	defer p.mu.Unlock()
    
    	if (checkOld > 0 && len(p.workers) != checkOld) || n == len(p.workers) || n < 1 {
    		// Either already satisfied or worker count changed while we waited for the lock.
    		return
    	}
    	for len(p.workers) < n {
    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)
Back to top