mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-25 21:27:42 +00:00
add message count to notification sender
This commit is contained in:
parent
b20fa0cac9
commit
ff27f2323d
1 changed files with 1 additions and 1 deletions
|
@ -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.statsd.SimpleEvent(ev, "")
|
||||||
|
|
||||||
nc.logger.WithFields(logrus.Fields{
|
nc.logger.WithFields(logrus.Fields{
|
||||||
|
|
Loading…
Reference in a new issue