Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for newBucketHTTPStats (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/http-tracer_test.go

    			expected, actual, expected-actual)
    	}
    }
    
    // TestBucketHTTPStatsRaceCondition tests concurrent access to bucket-level HTTP stats.
    func TestRaulBucketHTTPStatsRaceCondition(t *testing.T) {
    	bucketStats := newBucketHTTPStats()
    	const numGoroutines = 50
    	const opsPerGoroutine = 100
    
    	var wg sync.WaitGroup
    	for i := range numGoroutines {
    		wg.Add(1)
    		go func(id int) {
    			defer wg.Done()
    			bucketName := "test-bucket"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  2. cmd/globals.go

    	// Global HTTP request statistics
    	globalHTTPStats = newHTTPStats()
    
    	// Global bucket network and API statistics
    	globalBucketConnStats = newBucketConnStats()
    	globalBucketHTTPStats = newBucketHTTPStats()
    
    	// Time when the server is started
    	globalBootTime = UTCNow()
    
    	globalActiveCred         auth.Credentials
    	globalNodeAuthToken      string
    	globalSiteReplicatorCred siteReplicatorCred
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 03 18:23:41 GMT 2024
    - 16.2K bytes
    - Click Count (1)
Back to Top