Person +packages page should be batched
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Julian Edwards |
Bug Description
The person +packages page[1] displays all maintained packages of a given person. Currently that list is unbatched and issues the following queries many times:
SELECT COUNT(*) FROM BugTask, Bug WHERE Bug.id = BugTask.bug AND BugTask.status IN (10,20,22,15,25) AND BugTask.
SELECT COUNT(*) FROM Ticket WHERE status = 10 AND distribution = 1 AND sourcepackagename = 33901
Looking at [2] that page generates 184 repeated queries twice.
The page often soft times out and to minimize this problems should be batched and possibly use prejoin.
[1] https:/
[2] OOPS-123C164
Changed in launchpad: | |
status: | Unconfirmed → Confirmed |
description: | updated |
Changed in launchpad: | |
assignee: | nobody → kiko |
I think this is no longer causing timeouts since the redesign, but having a batched page to show the history would be nice..