Merge lp:~abentley/lazr.jobrunner/add-missing-jobs into lp:lazr.jobrunner
Proposed by
Aaron Bentley
Status: | Merged |
---|---|
Merged at revision: | 35 |
Proposed branch: | lp:~abentley/lazr.jobrunner/add-missing-jobs |
Merge into: | lp:lazr.jobrunner |
Diff against target: |
173 lines (+101/-8) 5 files modified
NEWS.txt (+5/-0) setup.py (+5/-5) src/lazr/jobrunner/celerytask.py (+54/-1) src/lazr/jobrunner/tests/test_celerytask.py (+36/-1) src/lazr/jobrunner/version.txt (+1/-1) |
To merge this branch: | bzr merge lp:~abentley/lazr.jobrunner/add-missing-jobs |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Abel Deuring (community) | code | Approve | |
Review via email: mp+105680@code.launchpad.net |
Commit message
Support list_queued.
Description of the change
This branch adds a list_queued function.
It works by draining the queue, not acknowledging the messages, and closing the connection. This restores the messages, allowing them to be consumed by another consumer.
It is implemented via a drain_queues method, which is useful for test cases that need to clean up after themselves.
It bumps the version number to 0.6, so that the Launchpad-side code can request
it.
To post a comment you must log in.
nice work