Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getRequestsPoolCapacity (0.31 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{}, time.Duration) {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top