mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +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");
|
||||
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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue