Bug 1030217 - Slight decrease in Telemetry submission rate on nightly channel. r=Yoric

This commit is contained in:
Roberto A. Vitillo 2014-07-08 10:59:00 +02:00
parent 7b9ddbd37c
commit 99dcb1fe36
2 changed files with 9 additions and 0 deletions

View File

@ -4152,6 +4152,12 @@
"extended_statistics_ok": true,
"description": "Number of histograms with total count low errors"
},
"TELEMETRY_FILES_EVICTED": {
"expires_in_version": "36",
"kind": "enumerated",
"n_values": 30,
"description": "Number of telemetry pings evicted at startup"
},
"TELEMETRY_TEST_FLAG": {
"expires_in_version": "never",
"kind": "flag",

View File

@ -179,6 +179,9 @@ this.TelemetryFile = {
}
yield Promise.all(result);
Services.telemetry.getHistogramById('TELEMETRY_FILES_EVICTED').
add(sortedEntries.length - MAX_LRU_PINGS);
}
yield iter.close();