Merge lp:~lifeless/launchpad/registry into lp:launchpad
Proposed by
Robert Collins
on 2010-08-18
| Status: | Merged | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Approved by: | Jeroen T. Vermeulen on 2010-08-18 | ||||||||||||||||
| Approved revision: | no longer in the source branch. | ||||||||||||||||
| Merged at revision: | 11389 | ||||||||||||||||
| Proposed branch: | lp:~lifeless/launchpad/registry | ||||||||||||||||
| Merge into: | lp:launchpad | ||||||||||||||||
| Diff against target: |
89 lines (+26/-9) 1 file modified
lib/lp/registry/model/person.py (+26/-9) |
||||||||||||||||
| To merge this branch: | bzr merge lp:~lifeless/launchpad/registry | ||||||||||||||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Jeroen T. Vermeulen (community) | 2010-08-18 | Approve on 2010-08-18 | |
|
Review via email:
|
|||
Commit Message
Drop the use of ValidPersonCache from Person._all_members as we usually link EmailAddress in anyway so we can get a more efficient query this way. (6000ms->35ms) for ubuntu-dev
Description of the Change
So the ValidPersonCache component turns out to turn a 35ms thing into a 6000ms thing. Not so good: this unpacks the view, and performs snappily, fixing timeouts for this on staging.
To post a comment you must log in.

Two changes discussed on IRC:
* Indentation—don't mix "right after (" with "tab-indented on following lines."
* AND should be And.
With that, you have my blessing.