diff options
| author | Barry Warsaw | 2008-03-25 22:28:57 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2008-03-25 22:28:57 -0400 |
| commit | de9deb660c5d48a083f0c56916cca6aa0cb010b3 (patch) | |
| tree | 3531c8eebaf6afd03909d6bc77e8b16907871eb5 /mailman/queue | |
| parent | 1d4753554614991ad2f86efff34e52add6ad91f6 (diff) | |
| download | mailman-de9deb660c5d48a083f0c56916cca6aa0cb010b3.tar.gz mailman-de9deb660c5d48a083f0c56916cca6aa0cb010b3.tar.zst mailman-de9deb660c5d48a083f0c56916cca6aa0cb010b3.zip | |
Lots of little patches trying to get a simple end-to-end test working. There
should be tests for these. :/
- Disable MTA hack in remove_list()
- Convert bin/inject to SingleMailingListOptions
- Remove an unnecessary import
- Fix qrunner restarts in bin/master
- Add IMailinglist.pipeline so that this value persists
- Move Runner.SLEEPTIME into the __init__() so that it isn't hurt by order of
configuration initialization.
Diffstat (limited to 'mailman/queue')
| -rw-r--r-- | mailman/queue/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mailman/queue/__init__.py b/mailman/queue/__init__.py index e30608138..4175babaa 100644 --- a/mailman/queue/__init__.py +++ b/mailman/queue/__init__.py @@ -210,7 +210,7 @@ class Runner: implements(IRunner) QDIR = None - SLEEPTIME = config.QRUNNER_SLEEP_TIME + SLEEPTIME = None def __init__(self, slice=None, numslices=1): self._kids = {} @@ -220,6 +220,8 @@ class Runner: # Create the shunt switchboard self._shunt = Switchboard(config.SHUNTQUEUE_DIR) self._stop = False + if self.SLEEPTIME is None: + self.SLEEPTIME = config.QRUNNER_SLEEP_TIME def __repr__(self): return '<%s at %s>' % (self.__class__.__name__, id(self)) |
