dovecot-2.1: master: Be more relaxed about giving service auth's...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Dec 6 23:36:13 EET 2011
details: http://hg.dovecot.org/dovecot-2.1/rev/24fe54f2cfcb
changeset: 13799:24fe54f2cfcb
user: Timo Sirainen <tss at iki.fi>
date: Tue Dec 06 23:35:58 2011 +0200
description:
master: Be more relaxed about giving service auth's client_limit being too low.
imap/pop3/lmtp processes with service_count=1 use up a client only for a
very short time. Don't count them.
diffstat:
src/master/master-settings.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 3054d73cf293 -r 24fe54f2cfcb src/master/master-settings.c
--- a/src/master/master-settings.c Mon Dec 05 21:25:22 2011 +0200
+++ b/src/master/master-settings.c Tue Dec 06 23:35:58 2011 +0200
@@ -553,7 +553,9 @@
service->protocol)) {
/* each imap/pop3/lmtp process can use up a connection,
although if service_count=1 it's only temporary */
- max_auth_client_processes += process_limit;
+ if (service->service_count != 1 ||
+ strcmp(service->type, "login") == 0)
+ max_auth_client_processes += process_limit;
}
if (strcmp(service->type, "login") == 0 ||
strcmp(service->name, "auth") == 0)
More information about the dovecot-cvs
mailing list