Merge lp:~abentley/launchpad/simplify-twisted-runner into lp:launchpad
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 13801 | ||||
Proposed branch: | lp:~abentley/launchpad/simplify-twisted-runner | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
104 lines (+28/-33) 2 files modified
lib/lp/services/job/runner.py (+13/-33) lib/lp/services/job/tests/test_runner.py (+15/-0) |
||||
To merge this branch: | bzr merge lp:~abentley/launchpad/simplify-twisted-runner | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
j.c.sackett (community) | Approve | ||
Review via email:
|
Commit message
Simplify Twisted job runner.
Description of the change
= Summary =
Fix bug 833888, "Twisted job runner is more complex than needed" and possibly 605772, "merge-
== Proposed fix ==
Stop using ParallelLimited
== Pre-implementation notes ==
Discussed with deryck
== Implementation details ==
The Twisted job runner now iterates through the list of jobs only once, instead of trying to process new jobs as they become ready.
== Tests ==
bin/test -v test_runner
== Demo and Q/A ==
Run any job script that uses the TwistedJobRunner. It should work when there are pending jobs, and when there are no pending jobs.
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/
Looks like a good simplification. Thanks, Aaron.