diff options
author | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2019-03-03 04:33:39 +0900 |
---|---|---|
committer | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2019-03-03 04:33:39 +0900 |
commit | 0b6ceac5bfe9fad6ce530d0369517516a3822634 (patch) | |
tree | 330318f1b7ea1d738a188735dc2f12de8acf813e /bin/qrunner | |
parent | d8ee0235efb4052d0e489ba1dba0af812873df14 (diff) | |
parent | ae069ea19ddc31cb1ce9fa48f6b305ee6cdb4266 (diff) | |
download | mailman2-0b6ceac5bfe9fad6ce530d0369517516a3822634.tar.gz mailman2-0b6ceac5bfe9fad6ce530d0369517516a3822634.tar.xz mailman2-0b6ceac5bfe9fad6ce530d0369517516a3822634.zip |
merge lp:mailman/2.1 up to rev 1808
Diffstat (limited to '')
-rw-r--r-- | bin/qrunner | 3 |
1 files changed, 3 insertions, 0 deletions
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) |