Merge lp:~lifeless/launchpad/soyuz into lp:launchpad
Proposed by
Robert Collins
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Robert Collins | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 11856 | ||||
Proposed branch: | lp:~lifeless/launchpad/soyuz | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
157 lines (+57/-12) 4 files modified
lib/lp/registry/model/distroseries.py (+32/-1) lib/lp/soyuz/adapters/archivesourcepublication.py (+2/-0) lib/lp/soyuz/doc/publishing.txt (+16/-1) lib/lp/soyuz/model/publishing.py (+7/-10) |
||||
To merge this branch: | bzr merge lp:~lifeless/launchpad/soyuz | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Penhey (community) | mentore | Approve | |
Steve Kowalik (community) | code* | Approve | |
Review via email: mp+39934@code.launchpad.net |
Commit message
Incremental improvement for +packages pages.
Description of the change
Incremental improvement for the +packages pages, eager loading the attribute triggering most DB queries and tuning the logic to do only one related call. We may still have DB access being triggered, but this should help.
To post a comment you must log in.
My only concern with this is what impact the caching will have on the publisher, but the code itself looks good.