Page MenuHomePhabricator

Make MediaViewer providers abortable
Open, LowPublic

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 created this task.Jan 14 2015, 9:47 PM
Tgr raised the priority of this task from to Needs Triage.
Tgr updated the task description. (Show Details)
Tgr added a project: MediaViewer.
Tgr added a subscriber: Tgr.
Restricted Application added a project: Multimedia. · View Herald TranscriptJan 14 2015, 9:47 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Tgr added a comment.Jan 21 2015, 2:17 AM

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.)

Jdforrester-WMF triaged this task as Low priority.Sep 4 2015, 6:56 PM
Restricted Application added a subscriber: Matanya. · View Herald TranscriptSep 4 2015, 6:56 PM
Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 7:03 PM

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

Tgr removed a subscriber: Tgr.Jul 9 2019, 6:03 PM