Merge lp:~abentley/launchpad/short-celrerybeat-transactions into lp:launchpad
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | j.c.sackett on 2012-05-24 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | 15310 | ||||
| Proposed branch: | lp:~abentley/launchpad/short-celrerybeat-transactions | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
98 lines (+27/-14) 3 files modified
database/schema/security.cfg (+7/-0) lib/lp/services/job/celeryjob.py (+12/-12) lib/lp/services/job/tests/test_celeryjob.py (+8/-2) |
||||
| To merge this branch: | bzr merge lp:~abentley/launchpad/short-celrerybeat-transactions | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| j.c.sackett (community) | 2012-05-24 | Approve on 2012-05-24 | |
|
Review via email:
|
|||
Commit Message
run_missing_ready closes transactions and uses its own user
Description of the Change
= Summary =
Fix bug #1003720: celerybeat keeps transactions open forever
== Proposed fix ==
Commit transactions and use a unique dbuser
== Pre-implementation notes ==
None
== LOC Rationale ==
I have a LOC credit of 1964.
== Implementation details ==
Can't think of any
== Tests ==
bin/test test_celeryjob
== Demo and Q/A ==
Enable celerybeat. After it has run run_missing_ready once, ask webops whether any transactions are held.
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
database/
lib/lp/

Looks good, Aaron. Thanks.