summaryrefslogtreecommitdiffstats
path: root/mailnews/db/gloda/modules/datastore.js
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-11-10 18:53:43 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-11-10 18:53:43 -0500
commit4db1ae892bad565e8e59ec6034b4c98946077248 (patch)
treef515b362f2b3f3b42f7afc231028176ebebdadcf /mailnews/db/gloda/modules/datastore.js
parente60090bc9c7e14bb8253eeb64658aedaa0f863c7 (diff)
downloadUXP-4db1ae892bad565e8e59ec6034b4c98946077248.tar
UXP-4db1ae892bad565e8e59ec6034b4c98946077248.tar.gz
UXP-4db1ae892bad565e8e59ec6034b4c98946077248.tar.lz
UXP-4db1ae892bad565e8e59ec6034b4c98946077248.tar.xz
UXP-4db1ae892bad565e8e59ec6034b4c98946077248.zip
Issue #1273 - Remove Telemetry from Gloda
Diffstat (limited to 'mailnews/db/gloda/modules/datastore.js')
-rw-r--r--mailnews/db/gloda/modules/datastore.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/mailnews/db/gloda/modules/datastore.js b/mailnews/db/gloda/modules/datastore.js
index 70bbdc6a7..c9374c563 100644
--- a/mailnews/db/gloda/modules/datastore.js
+++ b/mailnews/db/gloda/modules/datastore.js
@@ -1030,17 +1030,6 @@ var GlodaDatastore = {
var dbConnection;
- // Report about the size of the database through telemetry (if there's a
- // database, naturally).
- if (dbFile.exists()) {
- try {
- let h = Services.telemetry.getHistogramById("THUNDERBIRD_GLODA_SIZE_MB");
- h.add(dbFile.fileSize/1048576);
- } catch (e) {
- this._log.warn("Couldn't report telemetry", e);
- }
- }
-
// Create the file if it does not exist
if (!dbFile.exists()) {
this._log.debug("Creating database because it doesn't exist.");