Page MenuHomePhabricator

Make MediaViewer providers abortable
Closed, DeclinedPublic

Description

MediaViewer uses providers (mmv.provider.* modules) to load various things via HTTP; currently if a provider initiates a request, there is no way to abort it, even if the results are not needed anymore. This results in a waste of bandwidth.

Event Timeline

Tgr raised the priority of this task from to Needs Triage.
Tgr updated the task description. (Show Details)
Tgr added a project: MediaViewer.
Tgr subscribed.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Given the promise caching system we use, this would also mean uncaching the request, and so should only ever be done for promises which have not resolved yet. (Or have rejected - that's a very different use case, the ability to retry errors per T77272.)

Mass-removing the Multimedia tag from MediaViewer tasks, as this is now being worked on by the Reading department, not Editing's Multimedia team.