Skip to content

Commit

Permalink
Add comment to GetHarvesters function
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender committed Nov 30, 2023
1 parent 634c396 commit 38031e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/metrics/farmer.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ func (s *FarmerServiceMetrics) GetConnections(resp *types.WebsocketResponse) {
s.GetHarvesters()
}

// GetHarvesters loads data about harvesters connected to the farmer
func (s *FarmerServiceMetrics) GetHarvesters() {
if s.gettingHarvesters {
log.Debug("Skipping get_harvesters since another request is already in flight")
Expand Down

0 comments on commit 38031e4

Please sign in to comment.