Displaying bug patch badges in listing is inefficient, causes many timeouts
Bug #512262 reported by
Eleanor Berger
This bug affects 10 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Eleanor Berger |
Bug Description
The way we query for patches to display as badges on bug listings is very inefficient (one query per bug) and causes many timeouts.
Related branches
lp://staging/~intellectronica/launchpad/patch-badge-performance
- Gary Poster (community): Approve (release-critical)
- Aaron Bentley (community): Approve
-
Diff: 69 lines (+11/-3)4 files modifiedlib/canonical/launchpad/webapp/tales.py (+4/-0)
lib/lp/bugs/browser/bugtask.py (+3/-1)
lib/lp/bugs/browser/cvereport.py (+2/-1)
lib/lp/registry/browser/milestone.py (+2/-1)
Changed in malone: | |
status: | Triaged → In Progress |
assignee: | nobody → Tom Berger (intellectronica) |
assignee: | Tom Berger (intellectronica) → nobody |
milestone: | 10.01 → none |
Changed in malone: | |
status: | In Progress → New |
importance: | High → Undecided |
Changed in malone: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Tom Berger (intellectronica) |
milestone: | none → 10.01 |
Changed in malone: | |
status: | In Progress → Fix Committed |
tags: | added: current-rollout-blocker |
tags: | removed: oops |
Changed in malone: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
See OOPS-1486ED402 for example.