Merge lp:~abentley/launchpad/celery-rabbit-config into lp:launchpad
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Merged at revision: | 15066 | ||||
| Proposed branch: | lp:~abentley/launchpad/celery-rabbit-config | ||||
| Merge into: | lp:launchpad | ||||
| Prerequisite: | lp:~abentley/launchpad/celery-everywhere | ||||
| Diff against target: |
33 lines (+10/-2) 2 files modified
lib/lp/services/job/celeryconfig.py (+6/-1) lib/lp/services/job/tests/__init__.py (+4/-1) |
||||
| To merge this branch: | bzr merge lp:~abentley/launchpad/celery-rabbit-config | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Abel Deuring (community) | code | 2012-04-04 | Approve on 2012-04-04 |
|
Review via email:
|
|||
Commit Message
Use all configured RabbitMQ settings.
Description of the Change
= Summary =
Fix bug #973463: Celery does not use specified virtual host
== Proposed fix ==
Specify all Launchpad's RabbitMQ settings individually. Convert to a URL when running celeryd as a subprocess.
== Pre-implementation notes ==
None
== Implementation details ==
URL construction is a pain. It's easier to use the BROKER_* settings, even though we have to split the port from the host.
We need a URL to pass to the --broker parameter when running celeryd, since the individual settings can't be overridden. But we can use the connection itself to generate the URL, which should be authoritative.
== Tests ==
bin/test -t Celery
== Demo and Q/A ==
Enable branch scan jobs by setting the "jobs.celery.
(Restore the jobs.celery.
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
