Merge lp:~abentley/launchpad/fix-bp-timeouts into lp:launchpad
| Status: | Merged | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Approved by: | j.c.sackett on 2012-11-16 | ||||||||||||||||
| Approved revision: | no longer in the source branch. | ||||||||||||||||
| Merged at revision: | 16286 | ||||||||||||||||
| Proposed branch: | lp:~abentley/launchpad/fix-bp-timeouts | ||||||||||||||||
| Merge into: | lp:launchpad | ||||||||||||||||
| Diff against target: |
449 lines (+68/-115) 9 files modified
lib/lp/blueprints/model/specification.py (+3/-64) lib/lp/blueprints/model/specificationworkitem.py (+6/-5) lib/lp/blueprints/model/sprint.py (+1/-2) lib/lp/blueprints/tests/test_specification.py (+18/-16) lib/lp/registry/model/distribution.py (+2/-1) lib/lp/registry/model/milestone.py (+6/-6) lib/lp/registry/model/person.py (+16/-12) lib/lp/registry/model/product.py (+7/-6) lib/lp/registry/model/sharingjob.py (+9/-3) |
||||||||||||||||
| To merge this branch: | bzr merge lp:~abentley/launchpad/fix-bp-timeouts | ||||||||||||||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| j.c.sackett (community) | 2012-11-16 | Approve on 2012-11-16 | |
|
Review via email:
|
|||
Commit Message
Fix timeouts checking blueprint visiblity
Description of the Change
= Summary =
Fix the following bugs:
Bug #1075569: Timeout loading milestone because of blueprints
Bug #1077980: viewing project page leads to timeout when private blueprints exists
Bug #1078239: loading team blueprints leads to timeout Person:+index
Bug #1079390: Person:
== Proposed fix ==
Switch from get_specificati
== Pre-implementation notes ==
None
== LOC Rationale ==
Part of private products.
== Implementation details ==
visible_
Since get_specificati
TestPersonUpcom
All the call sites of get_specificati
_preload_
In sharingjob, replaced get_specificati
Fixed lint in SpecificationWo
Fixed long line by assigning LatestPersonSou
== Tests ==
bin/test -v
== Demo and Q/A ==
Go to the staging versions of all pages linked in the bugs and see whether they consistently time out.
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/

Looks good, thanks.