Page MenuHomePhabricator

Creating a PageList creates lots of Page objects that hit the API
Closed, ResolvedPublic

Description

Creating a PageList object results in the creation of lots of Pages which automatically hit the API in their render function.

We shouldn't do this - this means a search will cause a hit to the API for every single page in it. Whoops...


Version: unspecified
Severity: major

Details

Reference
bz64932

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:20 AM
bzimport set Reference to bz64932.
bzimport added a subscriber: Unknown Object (MLST).

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Trello card https://trello.com/c/H8rtlIQq

Change 131636 had a related patch set uploaded by Jdlrobson:
Don't hit the API when creating a PageList

https://gerrit.wikimedia.org/r/131636

Change 131636 merged by jenkins-bot:
Don't hit the API when creating a PageList

https://gerrit.wikimedia.org/r/131636