Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getRequestsPoolCapacity (0.12 sec)

  1. cmd/handler-api.go

    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if t.clusterDeadline == 0 {
    		return 10 * time.Second
    	}
    
    	return t.clusterDeadline
    }
    
    func (t *apiConfig) getRequestsPoolCapacity() int {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	return cap(t.requestsPool)
    }
    
    func (t *apiConfig) getRequestsPool() chan struct{} {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    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