Add Debian directory
[mspang/vmailman.git] / debian / patches / 07_snooze.patch
1 Patch: 07_snooze.patch
2 Author: Tollef Fog Heen <tfheen@debian.org>
3 Snooze a bit to avoid eating too much CPU if you get an SMTP error.
4 Index: Mailman/Queue/OutgoingRunner.py
5 ===================================================================
6 --- Mailman/Queue/OutgoingRunner.py.orig        2006-08-15 15:12:19.000000000 +0800
7 +++ Mailman/Queue/OutgoingRunner.py     2006-08-15 15:14:24.000000000 +0800
8 @@ -88,6 +88,7 @@
9                  syslog('error', 'Cannot connect to SMTP server %s on port %s',
10                         mm_cfg.SMTPHOST, port)
11                  self.__logged = True
12 +            self._snooze(0)
13              return True
14          except Errors.SomeRecipientsFailed, e:
15              # Handle local rejects of probe messages differently.