Actually return multiplier
This commit is contained in:
parent
01d16d4cba
commit
4873da2851
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue