]> 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)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 26 Jun 2018 12:12:36 +0000 (12:12 +0000)
Reduces reallocations on startup.

src/lib/event-filter.c

index eed547e6f5e8df8dd1b509d7cf5fc50083753d85..76585a4f9adbff06ec6496c7e67e541c09f35a63 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;