Browse Source
Merge pull request #12952 from YevhenBondarenko/fix/api-usage-stats-clear
[API usage] revert accidentally deleted api-usage clearing
pull/12958/head
Viacheslav Klimov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
0 deletions
-
common/queue/src/main/java/org/thingsboard/server/queue/usagestats/DefaultTbApiUsageReportClient.java
|
|
@ -123,6 +123,7 @@ public class DefaultTbApiUsageReportClient implements TbApiUsageReportClient { |
|
|
.setValue(value); |
|
|
.setValue(value); |
|
|
statsMsg.addValues(statsItem.build()); |
|
|
statsMsg.addValues(statsItem.build()); |
|
|
}); |
|
|
}); |
|
|
|
|
|
statsForKey.clear(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Map<TopicPartitionInfo, List<UsageStatsServiceMsg>> reportStatsPerTpi = new HashMap<>(); |
|
|
Map<TopicPartitionInfo, List<UsageStatsServiceMsg>> reportStatsPerTpi = new HashMap<>(); |
|
|
|