Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37404651
en ru br
Репозитории ALT
S:2.1.39-alt1
5.1: 2.1.12-alt2
4.1: 2.1.10-alt0.3.1.M41.1
4.0: 2.1.9-alt6.M40.1
3.0: 2.1.6-alt1
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: mailman

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: mailman-2.1.9-deb-07_snooze.patch
Скачать


Patch: 07_snooze.patch
Author: Tollef Fog Heen <tfheen@debian.org>
Snooze a bit to avoid eating too much CPU if you get an SMTP error.
Index: Mailman/Queue/OutgoingRunner.py
===================================================================
--- Mailman/Queue/OutgoingRunner.py.orig	2006-08-15 15:12:19.000000000 +0800
+++ Mailman/Queue/OutgoingRunner.py	2006-08-15 15:14:24.000000000 +0800
@@ -88,6 +88,7 @@
                 syslog('error', 'Cannot connect to SMTP server %s on port %s',
                        mm_cfg.SMTPHOST, port)
                 self.__logged = True
+            self._snooze(0)
             return True
         except Errors.SomeRecipientsFailed, e:
             # Handle local rejects of probe messages differently.
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin