Merge authors:
  Michael Lutonsky (mluto)
Related merge proposals:
  https://code.launchpad.net/~mluto/mailman/qrunnersleep/+merge/363767
  proposed by: Michael Lutonsky (mluto)
  review: Approve - Mark Sapiro (msapiro)
------------------------------------------------------------
revno: 1808 [merge]
fixes bug: https://launchpad.net/bugs/1818205
committer: Mark Sapiro <m...@msapiro.net>
branch nick: 2.1
timestamp: Fri 2019-03-01 18:34:46 -0800
message:
  Implemented use of QRUNNER_SLEEP_TIME for bin/qrunner --runner=All.
modified:
  NEWS
  bin/qrunner


--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1

Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'NEWS'
--- NEWS	2019-03-02 02:24:14 +0000
+++ NEWS	2019-03-02 02:34:46 +0000
@@ -35,6 +35,9 @@
 
     - 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

=== modified file 'bin/qrunner'
--- bin/qrunner	2018-06-17 23:47:34 +0000
+++ bin/qrunner	2019-02-28 08:22:41 +0000
@@ -75,6 +75,7 @@
 import sys
 import getopt
 import signal
+import time
 
 import paths
 from Mailman import mm_cfg
@@ -268,6 +269,8 @@
                 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)

_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to