add message count to notification sender

This commit is contained in:
Andre Medeiros 2021-07-15 21:02:52 -04:00
parent b20fa0cac9
commit ff27f2323d

View file

@ -353,7 +353,7 @@ func (nc *notificationsConsumer) Consume(delivery rmq.Delivery) {
}
}
ev := fmt.Sprintf("Sent notification to /u/%s", account.Username)
ev := fmt.Sprintf("Sent notification to /u/%s (x%d)", account.Username, msgs.Count)
nc.statsd.SimpleEvent(ev, "")
nc.logger.WithFields(logrus.Fields{