Actually return multiplier

This commit is contained in:
Daniel 2024-11-03 19:22:38 -05:00
parent 092b925a25
commit b40144447f

View file

@ -166,7 +166,7 @@ func (t *cache) Weight(ctx context.Context, id ID, tm time.Time) float64 {
m *= t.AlertConfig.ApplyAlertRules(id, tm) m *= t.AlertConfig.ApplyAlertRules(id, tm)
return float64(tg.Weight) return float64(m)
} }
func (t *cache) TG(ctx context.Context, tg ID) (Talkgroup, error) { func (t *cache) TG(ctx context.Context, tg ID) (Talkgroup, error) {