dovecot-1.2: imap: Reduce command pool's initial size.

dovecot at dovecot.org dovecot at dovecot.org
Wed Sep 30 23:01:00 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/92d7f08e9105
changeset: 9402:92d7f08e9105
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Sep 30 16:00:26 2009 -0400
description:
imap: Reduce command pool's initial size.

diffstat:

1 file changed, 2 insertions(+), 1 deletion(-)
src/imap/client.c |    3 ++-

diffs (13 lines):

diff -r 5053bfd20001 -r 92d7f08e9105 src/imap/client.c
--- a/src/imap/client.c	Wed Sep 30 12:27:28 2009 -0400
+++ b/src/imap/client.c	Wed Sep 30 16:00:26 2009 -0400
@@ -50,7 +50,8 @@ struct client *client_create(int fd_in, 
 	client->to_idle = timeout_add(CLIENT_IDLE_TIMEOUT_MSECS,
 				      client_idle_timeout, client);
 
-	client->command_pool = pool_alloconly_create("client command", 1024*12);
+	client->command_pool =
+		pool_alloconly_create(MEMPOOL_GROWING"client command", 2048);
 	client->user = user;
 
 	for (ns = user->namespaces; ns != NULL; ns = ns->next) {


More information about the dovecot-cvs mailing list