Update QuestionJob to send emails
Bug #772363 reported by
Curtis Hovey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Curtis Hovey |
Bug Description
Sending email is the primary reason question pages time out. The emails can be queued, and the Lp job process could send them.
The job will get the question recipients, build the message by adding the recipient's reason footer and header, then send it. There are four rules for determining the recipients.
Related branches
lp://staging/~sinzui/launchpad/question-email-1
- j.c.sackett (community): Approve
-
Diff: 513 lines (+308/-28)5 files modifiedlib/lp/answers/enums.py (+30/-0)
lib/lp/answers/interfaces/questionjob.py (+16/-7)
lib/lp/answers/model/question.py (+3/-1)
lib/lp/answers/model/questionjob.py (+69/-4)
lib/lp/answers/tests/test_questionjob.py (+190/-16)
Changed in launchpad: | |
status: | In Progress → Fix Committed |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.