dovecot-2.0: master: default_process_limit wasn't actually used ...

dovecot at dovecot.org dovecot at dovecot.org
Wed Nov 3 15:33:16 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/b4b6bf889044
changeset: 12370:b4b6bf889044
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Nov 03 13:33:02 2010 +0000
description:
master: default_process_limit wasn't actually used anywhere, rather the default was unlimited.

diffstat:

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

diffs (25 lines):

diff -r eb72f2523ffa -r b4b6bf889044 src/master/master-settings.c
--- a/src/master/master-settings.c	Tue Nov 02 19:23:37 2010 +0000
+++ b/src/master/master-settings.c	Wed Nov 03 13:33:02 2010 +0000
@@ -138,7 +138,7 @@
 	.drop_priv_before_exec = FALSE,
 
 	.process_min_avail = 0,
-	.process_limit = -1U,
+	.process_limit = 0,
 	.client_limit = 0,
 	.service_count = 0,
 	.idle_kill = 0,
diff -r eb72f2523ffa -r b4b6bf889044 src/master/service.c
--- a/src/master/service.c	Tue Nov 02 19:23:37 2010 +0000
+++ b/src/master/service.c	Wed Nov 03 13:33:02 2010 +0000
@@ -226,9 +226,6 @@
 	service->type = service->set->parsed_type;
 
 	if (set->process_limit == 0) {
-		/* unlimited */
-		service->process_limit = INT_MAX;
-	} else if (set->process_limit == -1U) {
 		/* use default */
 		service->process_limit =
 			set->master_set->default_process_limit;


More information about the dovecot-cvs mailing list