mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-23 07:37:29 +09:00
Remove telemetry calls from sync
This commit is contained in:
parent
b2be364394
commit
6cabeae4aa
2 changed files with 0 additions and 9 deletions
|
|
@ -155,10 +155,7 @@ WeaveService.prototype = {
|
||||||
Components.utils.import("resource://services-sync/main.js");
|
Components.utils.import("resource://services-sync/main.js");
|
||||||
isConfigured = Weave.Status.checkSetup() != Weave.CLIENT_NOT_CONFIGURED;
|
isConfigured = Weave.Status.checkSetup() != Weave.CLIENT_NOT_CONFIGURED;
|
||||||
}
|
}
|
||||||
let getHistogramById = Services.telemetry.getHistogramById;
|
|
||||||
getHistogramById("WEAVE_CONFIGURED").add(isConfigured);
|
|
||||||
if (isConfigured) {
|
if (isConfigured) {
|
||||||
getHistogramById("WEAVE_CONFIGURED_MASTER_PASSWORD").add(Utils.mpEnabled());
|
|
||||||
this.ensureLoaded();
|
this.ensureLoaded();
|
||||||
}
|
}
|
||||||
}.bind(this)
|
}.bind(this)
|
||||||
|
|
|
||||||
|
|
@ -1266,9 +1266,6 @@ Sync11Service.prototype = {
|
||||||
return this._lock("service.js: sync",
|
return this._lock("service.js: sync",
|
||||||
this._notify("sync", "", function onNotify() {
|
this._notify("sync", "", function onNotify() {
|
||||||
|
|
||||||
let histogram = Services.telemetry.getHistogramById("WEAVE_START_COUNT");
|
|
||||||
histogram.add(1);
|
|
||||||
|
|
||||||
let synchronizer = new EngineSynchronizer(this);
|
let synchronizer = new EngineSynchronizer(this);
|
||||||
let cb = Async.makeSpinningCallback();
|
let cb = Async.makeSpinningCallback();
|
||||||
synchronizer.onComplete = cb;
|
synchronizer.onComplete = cb;
|
||||||
|
|
@ -1278,9 +1275,6 @@ Sync11Service.prototype = {
|
||||||
// we want.
|
// we want.
|
||||||
let result = cb.wait();
|
let result = cb.wait();
|
||||||
|
|
||||||
histogram = Services.telemetry.getHistogramById("WEAVE_COMPLETE_SUCCESS_COUNT");
|
|
||||||
histogram.add(1);
|
|
||||||
|
|
||||||
// We successfully synchronized.
|
// We successfully synchronized.
|
||||||
// Check if the identity wants to pre-fetch a migration sentinel from
|
// Check if the identity wants to pre-fetch a migration sentinel from
|
||||||
// the server.
|
// the server.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue