Merge lp:~wgrant/launchpad/bug-728174 into lp:launchpad
Proposed by
William Grant
Status: | Merged |
---|---|
Approved by: | Robert Collins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12540 |
Proposed branch: | lp:~wgrant/launchpad/bug-728174 |
Merge into: | lp:launchpad |
Diff against target: |
287 lines (+161/-40) 3 files modified
lib/lp/services/worlddata/interfaces/language.py (+5/-3) lib/lp/services/worlddata/model/language.py (+96/-34) lib/lp/services/worlddata/tests/test_language.py (+60/-3) |
To merge this branch: | bzr merge lp:~wgrant/launchpad/bug-728174 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Collins (community) | Approve | ||
Review via email: mp+52374@code.launchpad.net |
Commit message
[r=lifeless][bug=728174] Optionally preload Language.
Description of the change
Webservice Language collections returned by LanguageSet were timing out on repeated heavy queries to calculate Language.
To post a comment you must log in.
ids = [language.id for language in languages]
I would setify this. Possibly not needed, but belt and braces.