dovecot-2.0: master: Make sure throttle timeout isn't added for ...

dovecot at dovecot.org dovecot at dovecot.org
Fri May 28 13:22:15 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/bd0088e294ec
changeset: 11405:bd0088e294ec
user:      Timo Sirainen <tss at iki.fi>
date:      Fri May 28 11:22:04 2010 +0100
description:
master: Make sure throttle timeout isn't added for already destroyed services.

diffstat:

 src/master/service.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 515a8cbd3d1e -r bd0088e294ec src/master/service.c
--- a/src/master/service.c	Thu May 27 21:19:37 2010 +0100
+++ b/src/master/service.c	Fri May 28 11:22:04 2010 +0100
@@ -632,7 +632,7 @@
 
 void service_throttle(struct service *service, unsigned int secs)
 {
-	if (service->to_throttle != NULL)
+	if (service->to_throttle != NULL || service->list->destroyed)
 		return;
 
 	if (service->processes == NULL)


More information about the dovecot-cvs mailing list