diff options
| author | bwarsaw | 2002-04-18 21:50:19 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-04-18 21:50:19 +0000 |
| commit | ac375419d112324be159706ac8200df36152508d (patch) | |
| tree | a7e5b42c7d4982bdd127d8a62c8c26edd46ecc20 /Mailman/Queue/OutgoingRunner.py | |
| parent | b4fcf071b8dde00fcbdde15018767b953c395ec2 (diff) | |
| download | mailman-ac375419d112324be159706ac8200df36152508d.tar.gz mailman-ac375419d112324be159706ac8200df36152508d.tar.zst mailman-ac375419d112324be159706ac8200df36152508d.zip | |
Diffstat (limited to 'Mailman/Queue/OutgoingRunner.py')
| -rw-r--r-- | Mailman/Queue/OutgoingRunner.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Mailman/Queue/OutgoingRunner.py b/Mailman/Queue/OutgoingRunner.py index 46e3e7089..aed8dcb9c 100644 --- a/Mailman/Queue/OutgoingRunner.py +++ b/Mailman/Queue/OutgoingRunner.py @@ -101,15 +101,16 @@ class OutgoingRunner(Runner): last_recip_count = msgdata.get('last_recip_count', 0) deliver_until = msgdata.get('deliver_until', now) if len(recips) == last_recip_count: - # We didn't make any progress. + # We didn't make any progress, so don't attempt delivery any + # longer. BAW: is this the best disposition? if now > deliver_until: - # We won't attempt delivery any longer. return 0 else: # Keep trying to delivery this for 3 days deliver_until = now + mm_cfg.DELIVERY_RETRY_PERIOD msgdata['last_recip_count'] = len(recips) msgdata['deliver_until'] = deliver_until + msgdata['recips'] = recips # Requeue return 1 # We've successfully completed handling of this message |
