Timeout on +translations
Bug #595414 reported by
Jeroen T. Vermeulen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Jeroen T. Vermeulen |
Bug Description
We're getting some timeouts on +translations pages, partly because they re-count the number of templates in a productseries perhaps a thousand or so times:
OOPS-1628A845
OOPS-1628L824
These two oopses show one of the causes—a view property "singe_potemplate" that can easily be cached.
Related branches
lp:~jtv/launchpad/bug-595414
- Jelmer Vernooij (community): Approve (code)
-
Diff: 51 lines (+12/-4)2 files modifiedlib/lp/translations/browser/productseries.py (+3/-2)
lib/lp/translations/browser/tests/test_productserieslanguage_views.py (+9/-2)
tags: | added: timeout |
tags: | added: qa-ok |
Changed in rosetta: | |
status: | In Progress → Fix Committed |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in rosetta: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r11031 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 11031>.