]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: event-filter - Increase initial allocation
authorAki Tuomi <aki.tuomi@dovecot.fi>
Mon, 25 Jun 2018 11:04:31 +0000 (14:04 +0300)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Mon, 30 Jul 2018 07:11:01 +0000 (10:11 +0300)
Reduces reallocations on startup.

src/lib/event-filter.c

index 23d46239f59a156b5471899ca228bf42df7171a7..974e1136eea6bb32172287ae7c19abb1255eebe0 100644 (file)
@@ -77,7 +77,7 @@ static struct event_filter *event_filters = NULL;
 struct event_filter *event_filter_create(void)
 {
        struct event_filter *filter;
-       pool_t pool = pool_alloconly_create("event filter", 256);
+       pool_t pool = pool_alloconly_create("event filter", 2048);
 
        filter = p_new(pool, struct event_filter, 1);
        filter->pool = pool;