changeset 13701:3dc1806bd27e

master: Don't throttle successfully started services just because their processes didn't have clients.
author Timo Sirainen <tss@iki.fi>
date Tue, 15 Nov 2011 20:58:48 +0200
parents 6b9f7cb07c8f
children 857d4c45588f
files src/master/service-monitor.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }