dovecot-2.2: master: Don't start new processes while shutting down.
dovecot at dovecot.org
dovecot at dovecot.org
Sat Oct 25 21:09:01 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/d35288713625
changeset: 18019:d35288713625
user: Timo Sirainen <tss at iki.fi>
date: Sun Oct 26 00:08:05 2014 +0300
description:
master: Don't start new processes while shutting down.
diffstat:
src/master/service-monitor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 4155055df7a9 -r d35288713625 src/master/service-monitor.c
--- a/src/master/service-monitor.c Sat Oct 25 22:53:35 2014 +0300
+++ b/src/master/service-monitor.c Sun Oct 26 00:08:05 2014 +0300
@@ -652,7 +652,7 @@
if (throttle)
service_monitor_throttle(service);
service_stopped = service->status_fd[0] == -1;
- if (!service_stopped) {
+ if (!service_stopped && !service->list->destroying) {
service_monitor_start_extra_avail(service);
/* if there are no longer listening processes,
start listening for more */
More information about the dovecot-cvs
mailing list