getSubscriptionsForBugTask() is being called too many times
Bug #681326 reported by
Gavin Panella
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Gavin Panella |
Bug Description
I got a time-out when doing QA for bug 151129 in qastaging: OOPS-1790QS13
I noticed in that report that the query constructed by getSubscription
Related branches
lp:~allenap/launchpad/subscribe-to-tag-bug-151129-5
- Edwin Grubbs (community): Approve (code)
-
Diff: 1173 lines (+790/-118)12 files modifiedlib/lp/bugs/browser/bugsubscription.py (+1/-2)
lib/lp/bugs/doc/bugzilla-import.txt (+4/-2)
lib/lp/bugs/doc/initial-bug-contacts.txt (+4/-2)
lib/lp/bugs/doc/security-teams.txt (+4/-2)
lib/lp/bugs/model/bug.py (+214/-30)
lib/lp/bugs/model/bugtask.py (+4/-2)
lib/lp/bugs/model/tests/test_bugsubscriptioninfo.py (+446/-0)
lib/lp/bugs/stories/initial-bug-contacts/20-file-upstream-bug.txt (+4/-2)
lib/lp/bugs/stories/initial-bug-contacts/25-file-distribution-bug.txt (+4/-3)
lib/lp/bugs/tests/test_bugnotification.py (+10/-9)
lib/lp/registry/model/person.py (+13/-1)
lib/lp/registry/tests/test_person_sort_key.py (+82/-63)
lp:~allenap/launchpad/subscribe-to-tag-bug-151129-6
- Данило Шеган (community): Approve
-
Diff: 500 lines (+181/-74)7 files modifiedlib/lp/bugs/browser/bug.py (+11/-23)
lib/lp/bugs/configure.zcml (+26/-0)
lib/lp/bugs/doc/bugsubscription.txt (+5/-5)
lib/lp/bugs/interfaces/bug.py (+6/-0)
lib/lp/bugs/model/bug.py (+61/-34)
lib/lp/bugs/model/tests/test_bug.py (+20/-12)
lib/lp/bugs/model/tests/test_bugsubscriptioninfo.py (+52/-0)
Changed in malone: | |
assignee: | nobody → Gavin Panella (allenap) |
milestone: | none → 10.12 |
status: | Triaged → In Progress |
Changed in launchpad: | |
milestone: | 10.12 → none |
tags: | added: qa-ok |
Changed in launchpad: | |
importance: | High → Critical |
tags: | removed: oops |
Changed in launchpad: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
r12152 in stable (http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 12152) is part of this bug's fix.