Merge lp:~mwhudson/launchpad/smarter-code-import-scheduling-bug-236973 into lp:launchpad
Proposed by
Michael Hudson-Doyle
on 2010-02-22
| Status: | Merged |
|---|---|
| Approved by: | Tim Penhey on 2010-02-22 |
| Approved revision: | not available |
| Merged at revision: | not available |
| Proposed branch: | lp:~mwhudson/launchpad/smarter-code-import-scheduling-bug-236973 |
| Merge into: | lp:launchpad |
| Prerequisite: | lp:~mwhudson/launchpad/reduce-concurrent-job-count |
| Diff against target: |
164 lines (+63/-13) 3 files modified
cronscripts/code-import-dispatcher.py (+1/-1) lib/lp/codehosting/codeimport/dispatcher.py (+28/-3) lib/lp/codehosting/codeimport/tests/test_dispatcher.py (+34/-9) |
| To merge this branch: | bzr merge lp:~mwhudson/launchpad/smarter-code-import-scheduling-bug-236973 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Tim Penhey (community) | 2010-02-22 | Approve on 2010-02-22 | |
|
Review via email:
|
|||
Commit Message
Ask for work until none is provided in the code import dispatcher.
To post a comment you must log in.
| Michael Hudson-Doyle (mwhudson) wrote : | # |
| Tim Penhey (thumper) wrote : | # |
Looks good. I'm eager to see how this works on staging :)
review:
Approve

Hi Tim,
We've talked about this I think -- I modify the code import dispatcher to look for work until it finds none and sleeps for a period dependent on the load of the machine between the asks.