Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getListQuorum (0.23 sec)

  1. cmd/metacache-set.go

    				// Nothing more for prefix.
    				return entries, io.EOF
    			}
    			partN++
    			retries = 0
    		}
    	}
    }
    
    // getListQuorum interprets list quorum values and returns appropriate
    // acceptable quorum expected for list operations
    func getListQuorum(quorum string, driveCount int) int {
    	switch quorum {
    	case "disk":
    		return 1
    	case "reduced":
    		return 2
    	case "optimal":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. cmd/handler-api.go

    	defer t.mu.RUnlock()
    
    	return t.gzipObjects
    }
    
    func (t *apiConfig) permitRootAccess() bool {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	return t.rootAccess
    }
    
    func (t *apiConfig) getListQuorum() string {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if t.listQuorum == "" {
    		return "strict"
    	}
    
    	return t.listQuorum
    }
    
    func (t *apiConfig) getCorsAllowOrigins() []string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top