mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 04:46:47 +00:00
Actually increment the international unsealed-sender counter instead of just declaring its existence.
This commit is contained in:
1 parent
78bbe8855b
commit
7dabc92447
1 file changed
+1
-1
+1
-1
@@ -233,7 +233,7 @@ public class MessageController {
|
||||
rateLimiters.getMessagesLimiter().validate(source.get().getUuid() + "__" + destination.get().getUuid());
|
||||
|
||||
if (!Util.getCountryCode(source.get().getNumber()).equals(destination.get().getNumber())) {
|
||||
Metrics.counter(INTERNATIONAL_UNSEALED_SENDER_COUNTER_NAME, SENDER_COUNTRY_TAG_NAME, Util.getCountryCode(source.get().getNumber()));
|
||||
Metrics.counter(INTERNATIONAL_UNSEALED_SENDER_COUNTER_NAME, SENDER_COUNTRY_TAG_NAME, Util.getCountryCode(source.get().getNumber())).increment();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user