Merge lp:~mluto/mailman/qrunnersleep into lp:mailman/2.1
Proposed by
Michael Lutonsky
Status: | Merged |
---|---|
Merged at revision: | 1808 |
Proposed branch: | lp:~mluto/mailman/qrunnersleep |
Merge into: | lp:mailman/2.1 |
Diff against target: |
20 lines (+3/-0) 1 file modified
bin/qrunner (+3/-0) |
To merge this branch: | bzr merge lp:~mluto/mailman/qrunnersleep |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mark Sapiro | Approve | ||
Review via email: mp+363767@code.launchpad.net |
To post a comment you must log in.
Please explain what the need for this is. Normally, Mailman/ Queue/Runner. py will sleep for QRUNNER_SLEEP_TIME after running _oneloop() if there are no more files in the queue.
Further, your change is only executed when bin/qrunner is run manually with --runner=All which is not the normal way to run all the runners. When they are run via bin/mailmanctl, bin/qrunner is called separately for each runner slice and the "Fast track for one infinite runner" code is executed.