Merge lp:~julian-edwards/launchpad/slow-ppa-search-bug-659129 into lp:launchpad/db-devel
Proposed by
Julian Edwards
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Gavin Panella | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 9890 | ||||
Proposed branch: | lp:~julian-edwards/launchpad/slow-ppa-search-bug-659129 | ||||
Merge into: | lp:launchpad/db-devel | ||||
Diff against target: |
11 lines (+1/-1) 1 file modified
lib/lp/registry/model/distribution.py (+1/-1) |
||||
To merge this branch: | bzr merge lp:~julian-edwards/launchpad/slow-ppa-search-bug-659129 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | Approve | ||
Graham Binns (community) | code | Approve | |
Robert Collins (community) | release-critical | Approve | |
Review via email: mp+38307@code.launchpad.net |
Commit message
Prevent the /ubuntu/+ppas page from timing out by fixing a slow query that PG8.4 hates.
Description of the change
See the bug, but in a nutshell:
Removes the DISTINCT clause from the slow query as per stub's suggestion in the bug.
To post a comment you must log in.
Since it's not updating the diff with the new changes, here it is: