Merge lp:~lifeless/launchpad/bug-724033 into lp:launchpad
Proposed by
Robert Collins
Status: | Merged |
---|---|
Approved by: | Robert Collins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12488 |
Proposed branch: | lp:~lifeless/launchpad/bug-724033 |
Merge into: | lp:launchpad |
Diff against target: |
174 lines (+55/-23) 5 files modified
lib/lp/bugs/browser/bugtask.py (+10/-11) lib/lp/bugs/configure.zcml (+1/-0) lib/lp/bugs/interfaces/bugnomination.py (+5/-1) lib/lp/bugs/model/bug.py (+38/-10) lib/lp/registry/model/distribution.py (+1/-1) |
To merge this branch: | bzr merge lp:~lifeless/launchpad/bug-724033 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Penhey (community) | code | Approve | |
William Grant | code* | Approve | |
Review via email: mp+51676@code.launchpad.net |
Commit message
[r=thumper,
Description of the change
Reduce more scaling issues with BugTask:+index. No tests for this because we're still batshit insanely far from having a flat profile (which is needed to write a clean test. Tests will come when we're flat, which will be soon.
To post a comment you must log in.
Gratuitous ILaunchBag import in lib/lp/ bugs/model/ bug.py. Also, I'm not a fan of "IDs" as a variable name.
Your bugtask target preloading serves the same role as something I did in lib/lp/ bugs/scripts/ bugtasktargetna mecaches. py, but rather differently. We probably want a well-known pattern for this sort of thing.