dovecot-2.1: master: Don't throttle successfully started service...

dovecot at dovecot.org dovecot at dovecot.org
Tue Nov 15 20:59:05 EET 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/3dc1806bd27e
changeset: 13701:3dc1806bd27e
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Nov 15 20:58:48 2011 +0200
description:
master: Don't throttle successfully started services just because their processes didn't have clients.

diffstat:

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

diffs (12 lines):

diff -r 6b9f7cb07c8f -r 3dc1806bd27e src/master/service-monitor.c
--- a/src/master/service-monitor.c	Tue Nov 15 20:56:59 2011 +0200
+++ b/src/master/service-monitor.c	Tue Nov 15 20:58:48 2011 +0200
@@ -523,7 +523,7 @@
 	bool throttle;
 
 	service_process_log_status_error(process, status);
-	throttle = process->total_count == 0;
+	throttle = process->to_status != NULL;
 	service_process_notify_add(service_anvil_global->kills, process);
 	return throttle;
 }


More information about the dovecot-cvs mailing list