aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2019-03-01 18:34:46 -0800
committerMark Sapiro <mark@msapiro.net>2019-03-01 18:34:46 -0800
commitae069ea19ddc31cb1ce9fa48f6b305ee6cdb4266 (patch)
tree7cb1c253a488c8e5634ce05798ca1ef10b298545
parentd42ff460f48550f01b7cf97935df4bcdfb829373 (diff)
parent5568370030aad8cd6403943c2e4252aac65dac50 (diff)
downloadmailman2-ae069ea19ddc31cb1ce9fa48f6b305ee6cdb4266.tar.gz
mailman2-ae069ea19ddc31cb1ce9fa48f6b305ee6cdb4266.tar.xz
mailman2-ae069ea19ddc31cb1ce9fa48f6b305ee6cdb4266.zip
Implemented use of QRUNNER_SLEEP_TIME for bin/qrunner --runner=All.
Diffstat (limited to '')
-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)