Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for requestsMax (0.05 sec)

  1. cmd/handler-api.go

    	corsAllowOrigin := cfg.CorsAllowOrigin
    	if len(corsAllowOrigin) == 0 {
    		corsAllowOrigin = []string{"*"}
    	}
    	t.corsAllowOrigins = corsAllowOrigin
    
    	var apiRequestsMaxPerNode int
    	if cfg.RequestsMax <= 0 {
    		maxSetDrives := slices.Max(setDriveCounts)
    
    		// Returns 75% of max memory allowed
    		maxMem := globalServerCtxt.MemLimit
    
    		// max requests per node is calculated as
    		// total_ram / ram_per_request
    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