changeset 9402:92d7f08e9105 HEAD

imap: Reduce command pool's initial size.
author Timo Sirainen <tss@iki.fi>
date Wed, 30 Sep 2009 16:00:26 -0400
parents 5053bfd20001
children cf291558ce28
files src/imap/client.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 	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) {