diff options
author | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2017-11-06 20:23:01 +0900 |
---|---|---|
committer | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2017-11-06 20:23:01 +0900 |
commit | adb3d9035314760b62d92bda4a41991b7420360f (patch) | |
tree | 6828787d03237b9f5eb3d1f22ac72cb0feeadaf8 | |
parent | 8db53d7e551ad889cdf04d8f1b326ff475938e21 (diff) | |
parent | 39a8ffb7dd8ff13871ec17b6950d44254f1c9306 (diff) | |
download | mailman2-adb3d9035314760b62d92bda4a41991b7420360f.tar.gz mailman2-adb3d9035314760b62d92bda4a41991b7420360f.tar.xz mailman2-adb3d9035314760b62d92bda4a41991b7420360f.zip |
Merge lp:mailman/2.1 rev 1727 with ja translation update
-rwxr-xr-x | Mailman/Defaults.py.in | 3 | ||||
-rwxr-xr-x | Mailman/Queue/OutgoingRunner.py | 5 | ||||
-rw-r--r-- | NEWS | 6 | ||||
-rwxr-xr-x | messages/ja/doc/Defaults.py.in | 4 |
4 files changed, 16 insertions, 2 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index e6738192..309d0ba3 100755 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -1522,6 +1522,9 @@ PENDING_REQUEST_LIFE = days(3) DELIVERY_RETRY_PERIOD = days(5) # How long should we wait before we retry a temporary delivery failure? +# Because RetryRunner sleeps for 15 minutes between processes of its queue, +# whatever is put here is effectively rounded up to the next integer multiple +# of 15 minutes. DELIVERY_RETRY_WAIT = hours(1) diff --git a/Mailman/Queue/OutgoingRunner.py b/Mailman/Queue/OutgoingRunner.py index defaf02d..0a204e66 100755 --- a/Mailman/Queue/OutgoingRunner.py +++ b/Mailman/Queue/OutgoingRunner.py @@ -1,4 +1,4 @@ -# Copyright (C) 2000-2012 by the Free Software Foundation, Inc. +# Copyright (C) 2000-2017 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -122,6 +122,9 @@ class OutgoingRunner(Runner, BounceMixin): # disposition? if now > deliver_until: return False + # We're going to retry, but not too soon. + deliver_after = now + mm_cfg.DELIVERY_RETRY_WAIT + msgdata['deliver_after'] = deliver_after else: # Keep trying to delivery this message for a while deliver_until = now + mm_cfg.DELIVERY_RETRY_PERIOD @@ -5,6 +5,12 @@ Copyright (C) 1998-2017 by the Free Software Foundation, Inc. Here is a history of user visible changes to Mailman. +2.1.26 (xx-xxx-xxxx) + + Bug fixes and other patches + + - The DELIVERY_RETRY_WAIT setting is now effective. (LP: #1729472) + 2.1.25 (26-Oct-2017) New Features diff --git a/messages/ja/doc/Defaults.py.in b/messages/ja/doc/Defaults.py.in index 92175a2b..29e2f602 100755 --- a/messages/ja/doc/Defaults.py.in +++ b/messages/ja/doc/Defaults.py.in @@ -20,7 +20,7 @@ # [訳註] このファイルは、Mailman 2.1.25 配布物に含まれる # Mailman/Defaults.py.in (launchpad.net での Bazaar リビジョンは -# 1726) のコメント部分を日本語 (共通語) に翻訳したものです。 +# 1727) のコメント部分を日本語 (共通語) に翻訳したものです。 # 配布等の条件は原文と同様、GNU 一般公衆利用許諾契約書 (GNU # General Public License) に従います (上記も参照ください)。内容の # 正確な理解のためには、配布物に含まれる原文を参照されることを @@ -1666,6 +1666,8 @@ PENDING_REQUEST_LIFE = days(3) DELIVERY_RETRY_PERIOD = days(5) # 一時的な配送失敗の際に再送を試みるまでにどれだけの時間待ちますか? +# RetryRunner はキューの処理と処理の間に15分スリープしますので、ここで +# 指定した値は実際には15分の倍数に切り上げられます。 DELIVERY_RETRY_WAIT = hours(1) |