Merge lp:~lifeless/launchpad/registry into lp:launchpad
Proposed by
Robert Collins
Status: | Merged | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Jeroen T. Vermeulen | ||||||||||||||||
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) | Approve | ||
Review via email: mp+32953@code.launchpad.net |
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.