Merge lp://staging/~adeuring/launchpad/bug-768443 into lp://staging/launchpad
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Abel Deuring | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 12965 | ||||
Proposed branch: | lp://staging/~adeuring/launchpad/bug-768443 | ||||
Merge into: | lp://staging/launchpad | ||||
Diff against target: |
171 lines (+81/-4) 5 files modified
lib/lp/bugs/browser/structuralsubscription.py (+2/-2) lib/lp/bugs/browser/tests/test_expose.py (+60/-1) lib/lp/registry/interfaces/person.py (+3/-0) lib/lp/registry/model/person.py (+4/-0) lib/lp/registry/tests/test_person.py (+12/-1) |
||||
To merge this branch: | bzr merge lp://staging/~adeuring/launchpad/bug-768443 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Graham Binns (community) | code | Approve | |
Review via email:
|
Commit message
[r=gmb][bug=768443] new cached property Person.
Description of the change
This branch fixes bug 768443: ProductSeries:
The reason for the timeout are many calls of Person.
These functions are called in lp.registry.
One OOPS had more than 90 calls of getAdministrate
At first I intended to cache the query result inside Person.
tests:
./bin/test bugs -vvt test_expose
./bin/test registry -vvt test_person.
no lint