Closed Bug 1708496 Opened 5 years ago Closed 5 years ago

Does the Metrics Ping Scheduler actually need cancellable tasks?

Categories

(Data Platform and Tools :: Glean: SDK, task)

task

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: chutten, Unassigned)

Details

schedule() is only called once, and the Task is only prompted from threads that originate there or originate from within the Task itself. Task scheduling is re-entrant in that it's the previous task that schedules the next, but that's it.

We should look into a different task scheduling paradigm for the Metrics Ping Scheduler

Found a refactor for the glean-core MPS that makes this question irrelevant.

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