Merge lp:~wgrant/launchpad/bug-728246-copy-expiry-queries into lp:launchpad
Proposed by
William Grant
Status: | Merged |
---|---|
Approved by: | William Grant |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12522 |
Proposed branch: | lp:~wgrant/launchpad/bug-728246-copy-expiry-queries |
Merge into: | lp:launchpad |
Diff against target: |
213 lines (+90/-34) 4 files modified
lib/lp/soyuz/model/binarypackagerelease.py (+11/-3) lib/lp/soyuz/model/publishing.py (+40/-29) lib/lp/soyuz/scripts/packagecopier.py (+1/-1) lib/lp/soyuz/tests/test_publishing.py (+38/-1) |
To merge this branch: | bzr merge lp:~wgrant/launchpad/bug-728246-copy-expiry-queries |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | Approve | ||
Review via email: mp+52020@code.launchpad.net |
Commit message
[r=allenap][bug=728246] Bring the package copier's expired file check down to constant queries.
Description of the change
This branch starts to address the package copier's scaling problems, making the expired binary check take a constant number of queries (bug #728246).
BinaryPackageRe
This eliminates two queries per copied binary publication.
To post a comment you must log in.
Nice.