Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FirstLocal (0.1 sec)

  1. cmd/endpoint.go

    		for _, endpoint := range ep.Endpoints {
    			if endpoint.IsLocal {
    				localDisksCount[i]++
    			}
    		}
    	}
    	return localDisksCount
    }
    
    // FirstLocal returns true if the first endpoint is local.
    func (l EndpointServerPools) FirstLocal() bool {
    	return l[0].Endpoints[0].IsLocal
    }
    
    // HTTPS - returns true if secure for URLEndpointType.
    func (l EndpointServerPools) HTTPS() bool {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    		// for all setups smaller than this avoid pre-alloc.
    		buffers.Populate()
    	}
    	globalBytePoolCap.Store(buffers)
    
    	var localDrives []StorageAPI
    	local := endpointServerPools.FirstLocal()
    	for i, ep := range endpointServerPools {
    		// If storage class is not set during startup, default values are used
    		// -- Default for Reduced Redundancy Storage class is, parity = 2
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
Back to top