dovecot-2.0: config: Increased initial pool sizes.
dovecot at dovecot.org
dovecot at dovecot.org
Sat Sep 5 00:07:06 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/831adf94c39f
changeset: 9874:831adf94c39f
user: Timo Sirainen <tss at iki.fi>
date: Fri Sep 04 17:05:21 2009 -0400
description:
config: Increased initial pool sizes.
diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
src/config/config-parser.c | 2 +-
src/config/config-request.c | 2 +-
diffs (24 lines):
diff -r 6880916a8eef -r 831adf94c39f src/config/config-parser.c
--- a/src/config/config-parser.c Fri Sep 04 15:49:09 2009 -0400
+++ b/src/config/config-parser.c Fri Sep 04 17:05:21 2009 -0400
@@ -277,7 +277,7 @@ config_all_parsers_check(struct parser_c
unsigned int i, count;
pool_t tmp_pool;
- tmp_pool = pool_alloconly_create("config parsers check", 10240);
+ tmp_pool = pool_alloconly_create("config parsers check", 1024*32);
parsers = array_get(&ctx->all_parsers, &count);
i_assert(count > 0 && parsers[count-1] == NULL);
count--;
diff -r 6880916a8eef -r 831adf94c39f src/config/config-request.c
--- a/src/config/config-request.c Fri Sep 04 15:49:09 2009 -0400
+++ b/src/config/config-request.c Fri Sep 04 17:05:21 2009 -0400
@@ -242,7 +242,7 @@ int config_request_handle(const struct c
int ret = 0;
memset(&ctx, 0, sizeof(ctx));
- ctx.pool = pool_alloconly_create("config request", 10240);
+ ctx.pool = pool_alloconly_create("config request", 1024*16);
if (config_filter_get_parsers(config_filter, ctx.pool, filter,
&l, &error) < 0) {
More information about the dovecot-cvs
mailing list