Actually return multiplier

This commit is contained in:
Daniel 2024-11-03 19:22:38 -05:00
parent 01d16d4cba
commit 4873da2851

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) {