From ff27f2323d770ed7e259060329a34e4fb60f6410 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Thu, 15 Jul 2021 21:02:52 -0400 Subject: [PATCH] add message count to notification sender --- internal/worker/notifications.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/worker/notifications.go b/internal/worker/notifications.go index 0fae770..02bfa00 100644 --- a/internal/worker/notifications.go +++ b/internal/worker/notifications.go @@ -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{