Reduce alert spam in rtc_event_log_visualizer
Bug: webrtc:11564 Change-Id: I4fdd6284b35cedded4d8b623dc0b7f8e1534c495 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/175649 Commit-Queue: Björn Terelius <terelius@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31324}
This commit is contained in:
committed by
Commit Bot
parent
c5324fb7bd
commit
b914819944
@ -41,7 +41,7 @@ enum class TriageAlertType {
|
||||
struct TriageAlert {
|
||||
TriageAlertType type = TriageAlertType::kUnknown;
|
||||
int count = 0;
|
||||
float first_occurence = -1;
|
||||
float first_occurrence = -1;
|
||||
std::string explanation;
|
||||
};
|
||||
|
||||
@ -70,7 +70,7 @@ class TriageHelper {
|
||||
if (it == triage_alerts_.end()) {
|
||||
TriageAlert alert;
|
||||
alert.type = type;
|
||||
alert.first_occurence = time_seconds;
|
||||
alert.first_occurrence = time_seconds;
|
||||
alert.count = 1;
|
||||
alert.explanation = std::string(explanation);
|
||||
triage_alerts_.insert(std::make_pair(type, alert));
|
||||
|
||||
Reference in New Issue
Block a user