Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for activeListeners (0.21 sec)

  1. cmd/background-heal-ops.go

    	result madmin.HealResultItem
    	err    error
    }
    
    // healRoutine receives heal tasks, to heal buckets, objects and format.json
    type healRoutine struct {
    	tasks   chan healTask
    	workers int
    }
    
    func activeListeners() int {
    	// Bucket notification and http trace are not costly, it is okay to ignore them
    	// while counting the number of concurrent connections
    	return int(globalHTTPListen.Subscribers()) + int(globalTrace.Subscribers())
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top