Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for updateHTTPStats (0.1 sec)

  1. cmd/http-tracer_test.go

    		wg.Add(1)
    		go func(id int) {
    			defer wg.Done()
    			bucketName := "test-bucket"
    
    			for range opsPerGoroutine {
    				bucketStats.updateHTTPStats(bucketName, "GetObject", nil)
    				recorder := &xhttp.ResponseRecorder{}
    				bucketStats.updateHTTPStats(bucketName, "GetObject", recorder)
    				_ = bucketStats.load(bucketName)
    			}
    		}(i)
    	}
    	wg.Wait()
    
    	stats := bucketStats.load("test-bucket")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. cmd/handler-utils.go

    		countBktStat := bucket != "" && bucket != minioReservedBucket && err == nil && !meta.Created.IsZero()
    		if countBktStat {
    			globalBucketHTTPStats.updateHTTPStats(bucket, api, nil)
    		}
    
    		globalHTTPStats.currentS3Requests.Inc(api)
    		f.ServeHTTP(w, r)
    		globalHTTPStats.currentS3Requests.Dec(api)
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 16.4K bytes
    - Viewed (1)
Back to top