]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Increased some initial memory pool sizes.
authorTimo Sirainen <tss@iki.fi>
Mon, 26 Jan 2009 00:40:36 +0000 (19:40 -0500)
committerTimo Sirainen <tss@iki.fi>
Mon, 26 Jan 2009 00:40:36 +0000 (19:40 -0500)
--HG--
branch : HEAD

src/lib-dict/dict-sql.c
src/lib-storage/index/shared/shared-list.c
src/lib-storage/index/shared/shared-storage.c
src/plugins/quota/quota.c

index 94b7f9f4c54148b2749b3bf4d349409c986b9baf..1260e4b44115e1516ec39844317b6522d26c5b12 100644 (file)
@@ -69,7 +69,7 @@ sql_dict_init(struct dict *driver, const char *uri,
        struct sql_dict *dict;
        pool_t pool;
 
-       pool = pool_alloconly_create("sql dict", 1024);
+       pool = pool_alloconly_create("sql dict", 2048);
        dict = p_new(pool, struct sql_dict, 1);
        dict->pool = pool;
        dict->dict = *driver;
index c4eee0854991c0e50c21b67c0cee051343b52528..3989af0fe1863ef75ca1977861c9462ba26d933f 100644 (file)
@@ -20,7 +20,7 @@ static struct mailbox_list *shared_list_alloc(void)
        struct mailbox_list *list;
        pool_t pool;
 
-       pool = pool_alloconly_create("shared list", 256);
+       pool = pool_alloconly_create("shared list", 1024);
        list = p_new(pool, struct mailbox_list, 1);
        *list = shared_mailbox_list;
        list->pool = pool;
index add9e80d492583bb7584a3494ae5d18e0c1c63f4..83fe0c1af118503b097b366127c8873191025192 100644 (file)
@@ -25,7 +25,7 @@ static struct mail_storage *shared_alloc(void)
        struct shared_storage *storage;
        pool_t pool;
 
-       pool = pool_alloconly_create("shared storage", 256);
+       pool = pool_alloconly_create("shared storage", 1024);
        storage = p_new(pool, struct shared_storage, 1);
        storage->storage = shared_storage;
        storage->storage.pool = pool;
index eec3c5a632464c3107aee15412c85ccc4d742bb1..e53f754345e325899d13f1ffdfd7ec6e57187275 100644 (file)
@@ -48,7 +48,7 @@ struct quota_settings *quota_settings_init(void)
        struct quota_settings *quota_set;
        pool_t pool;
 
-       pool = pool_alloconly_create("quota settings", 256);
+       pool = pool_alloconly_create("quota settings", 1024);
        quota_set = p_new(pool, struct quota_settings, 1);
        quota_set->pool = pool;
        quota_set->test_alloc = quota_default_test_alloc;