]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
config: Increased initial pool sizes.
authorTimo Sirainen <tss@iki.fi>
Fri, 4 Sep 2009 21:05:21 +0000 (17:05 -0400)
committerTimo Sirainen <tss@iki.fi>
Fri, 4 Sep 2009 21:05:21 +0000 (17:05 -0400)
--HG--
branch : HEAD

src/config/config-parser.c
src/config/config-request.c

index 7c0e1316d6b9f1f3616b1bdf7c802f502192696b..623004b85754c045591af3d07fcdcc221f454404 100644 (file)
@@ -277,7 +277,7 @@ config_all_parsers_check(struct parser_context *ctx,
        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--;
index 6f82fbc860c2b498413503a4e93486cf7a41a3eb..8f819c9d868cc8486e9d7b54f5cc78ce54db12ce 100644 (file)
@@ -242,7 +242,7 @@ int config_request_handle(const struct config_filter *filter,
        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) {