dovecot-2.0: Increased initial memory pool sizes.
dovecot at dovecot.org
dovecot at dovecot.org
Tue May 4 18:47:16 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/a4614f53d298
changeset: 11262:a4614f53d298
user: Timo Sirainen <tss at iki.fi>
date: Tue May 04 18:47:13 2010 +0300
description:
Increased initial memory pool sizes.
diffstat:
src/lib-storage/mail-user.c | 2 +-
src/plugins/quota/quota.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 1c8cc349ef55 -r a4614f53d298 src/lib-storage/mail-user.c
--- a/src/lib-storage/mail-user.c Tue May 04 17:55:23 2010 +0300
+++ b/src/lib-storage/mail-user.c Tue May 04 18:47:13 2010 +0300
@@ -39,7 +39,7 @@
i_assert(username != NULL);
i_assert(*username != '\0');
- pool = pool_alloconly_create("mail user", 8192);
+ pool = pool_alloconly_create("mail user", 16*1024);
user = p_new(pool, struct mail_user, 1);
user->pool = pool;
user->refcount = 1;
diff -r 1c8cc349ef55 -r a4614f53d298 src/plugins/quota/quota.c
--- a/src/plugins/quota/quota.c Tue May 04 17:55:23 2010 +0300
+++ b/src/plugins/quota/quota.c Tue May 04 18:47:13 2010 +0300
@@ -92,7 +92,7 @@
unsigned int i;
pool_t pool;
- pool = pool_alloconly_create("quota settings", 1024);
+ pool = pool_alloconly_create("quota settings", 2048);
quota_set = p_new(pool, struct quota_settings, 1);
quota_set->pool = pool;
quota_set->test_alloc = quota_default_test_alloc;
More information about the dovecot-cvs
mailing list