mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 13:58:49 +00:00
Remove telemetry calls from sync
This commit is contained in:
@@ -155,10 +155,7 @@ WeaveService.prototype = {
|
||||
Components.utils.import("resource://services-sync/main.js");
|
||||
isConfigured = Weave.Status.checkSetup() != Weave.CLIENT_NOT_CONFIGURED;
|
||||
}
|
||||
let getHistogramById = Services.telemetry.getHistogramById;
|
||||
getHistogramById("WEAVE_CONFIGURED").add(isConfigured);
|
||||
if (isConfigured) {
|
||||
getHistogramById("WEAVE_CONFIGURED_MASTER_PASSWORD").add(Utils.mpEnabled());
|
||||
this.ensureLoaded();
|
||||
}
|
||||
}.bind(this)
|
||||
|
||||
@@ -1266,9 +1266,6 @@ Sync11Service.prototype = {
|
||||
return this._lock("service.js: sync",
|
||||
this._notify("sync", "", function onNotify() {
|
||||
|
||||
let histogram = Services.telemetry.getHistogramById("WEAVE_START_COUNT");
|
||||
histogram.add(1);
|
||||
|
||||
let synchronizer = new EngineSynchronizer(this);
|
||||
let cb = Async.makeSpinningCallback();
|
||||
synchronizer.onComplete = cb;
|
||||
@@ -1278,9 +1275,6 @@ Sync11Service.prototype = {
|
||||
// we want.
|
||||
let result = cb.wait();
|
||||
|
||||
histogram = Services.telemetry.getHistogramById("WEAVE_COMPLETE_SUCCESS_COUNT");
|
||||
histogram.add(1);
|
||||
|
||||
// We successfully synchronized.
|
||||
// Check if the identity wants to pre-fetch a migration sentinel from
|
||||
// the server.
|
||||
|
||||
Reference in New Issue
Block a user