Open Bug 1961440 Opened 26 days ago Updated 23 days ago

Defer ModelHubAddonWrapper Initialization to First Relevant Addon Access

Categories

(Toolkit :: Add-ons Manager, task, P2)

task

Tracking

()

People

(Reporter: ngrato, Unassigned)

Details

followup: before enabling this provider by default I'd prefer to ensure we delay to bother listing all models and create ModelHubAddonWrapper instances as much as possible (at the moment if this would be enabled by default we would do it as soon as we have got "browser-delayed-startup-finished", but we could defer it way further (e.g. to the first call that getAddonByType that include "mlmodel" or getAddonById with an addonId that ends with the MODELHUB_ADDON_ID_SUFFIX suffix), but we can leave that to a separate followup.

Severity: -- → N/A
You need to log in before you can comment on or make changes to this bug.