diff --git a/internal/metrics/farmer.go b/internal/metrics/farmer.go index 40b0395..b9a9b16 100644 --- a/internal/metrics/farmer.go +++ b/internal/metrics/farmer.go @@ -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")