Closed Bug 1583508 Opened 6 years ago Closed 6 years ago

In Fenix, we only need to go Glean.initialize on the main thread

Categories

(Data Platform and Tools :: Glean: SDK, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1585250

People

(Reporter: mdroettboom, Unassigned)

Details

(Whiteboard: [telemetry:glean-rs:m10])

In this PR we moved the GleanMetricsService on to the main thread to fix this bug.

However, we only really needed to put the Glean.initialize on the main thread, not other things in that function (like looking up the default browser). We should reduce the scope of the main thread requirement there to do less work on the main thread.

We should look into startup performance once its shipped on release.
If there's nothing to worry about we can close this.

Whiteboard: [telemetry:glean-rs:m?] → [telemetry:glean-rs:m10]

Given 1585250, the urgency of doing this just arrived.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.