Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for throttle (0.15 sec)

  1. cmd/handler-api.go

    		return nil, 10 * time.Second
    	}
    
    	if t.requestsDeadline <= 0 {
    		return t.requestsPool, 10 * time.Second
    	}
    
    	return t.requestsPool, t.requestsDeadline
    }
    
    // maxClients throttles the S3 API calls
    func maxClients(f http.HandlerFunc) http.HandlerFunc {
    	return func(w http.ResponseWriter, r *http.Request) {
    		globalHTTPStats.incS3RequestsIncoming()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 10K bytes
    - Viewed (0)
  2. cmd/data-scanner.go

    	scannerCycle                         = uatomic.NewDuration(dataScannerStartDelay)
    	scannerIdleMode                      = uatomic.NewInt32(0) // default is throttled when idle
    	scannerExcessObjectVersions          = uatomic.NewInt64(100)
    	scannerExcessObjectVersionsTotalSize = uatomic.NewInt64(1024 * 1024 * 1024 * 1024) // 1 TB
    	scannerExcessFolders                 = uatomic.NewInt64(50000)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
Back to top