Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for errBusy (0.06 seconds)

  1. cmd/healthcheck-handler.go

    		writeResponse(w, http.StatusOK, nil, mimeNone)
    		return
    	}
    
    	if int(globalHTTPStats.loadRequestsInQueue()) > globalAPIConfig.getRequestsPoolCapacity() {
    		apiErr := getAPIError(ErrBusy)
    		switch r.Method {
    		case http.MethodHead:
    			writeResponse(w, apiErr.HTTPStatusCode, nil, mimeNone)
    		case http.MethodGet:
    			writeErrorResponse(r.Context(), w, apiErr, r.URL)
    		}
    		return
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 26 07:44:34 GMT 2024
    - 6.9K bytes
    - Click Count (0)
Back to Top