aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--bin/qrunner3
2 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 2b6de6c0..85b15ff2 100644
--- a/NEWS
+++ b/NEWS
@@ -35,6 +35,9 @@ Here is a history of user visible changes to Mailman.
- Corrected and augmented some security log messages. (LP: #1810098)
+ - Implemented use of QRUNNER_SLEEP_TIME for bin/qrunner --runner=All.
+ (LP: #1818205)
+
2.1.29 (24-Jul-2018)
Bug Fixes
diff --git a/bin/qrunner b/bin/qrunner
index 0ca2f993..911276e3 100644
--- a/bin/qrunner
+++ b/bin/qrunner
@@ -75,6 +75,7 @@ operation. It is only useful for debugging if it is run separately.
import sys
import getopt
import signal
+import time
import paths
from Mailman import mm_cfg
@@ -268,6 +269,8 @@ def main():
qrunner.run()
if once:
break
+ if mm_cfg.QRUNNER_SLEEP_TIME > 0:
+ time.sleep(mm_cfg.QRUNNER_SLEEP_TIME)
syslog('qrunner', 'Main qrunner loop exiting.')
# All done
sys.exit(loop.status)