Michael Lutonsky has proposed merging lp:~mluto/mailman/qrunnersleep into 
lp:mailman/2.1.

Requested reviews:
  Mailman Coders (mailman-coders)

For more details, see:
https://code.launchpad.net/~mluto/mailman/qrunnersleep/+merge/363767
-- 
Your team Mailman Coders is requested to review the proposed merge of 
lp:~mluto/mailman/qrunnersleep into lp:mailman/2.1.
=== modified file 'bin/qrunner'
--- bin/qrunner	2018-06-17 23:47:34 +0000
+++ bin/qrunner	2019-02-28 08:27:16 +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-coders mailing list
[email protected]
https://mail.python.org/mailman/listinfo/mailman-coders

Reply via email to