]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
set a larger pool
authorAlan T. DeKok <aland@freeradius.org>
Tue, 23 Jan 2018 13:06:11 +0000 (08:06 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 23 Jan 2018 13:14:34 +0000 (08:14 -0500)
it's temporary.  But a small pool will cause it to just use
normal allocs.

src/modules/rlm_cache/rlm_cache.c

index cf9740505e63de6c5a0fc8e5506bb31ab6ca3a4c..c2c6ac0e10a83fc92fbe81c9b1d37785255add43 100644 (file)
@@ -320,7 +320,7 @@ static rlm_rcode_t cache_insert(rlm_cache_t const *inst, REQUEST *request, rlm_c
         *      Alloc a pool so we don't have excessive allocs when
         *      gathering VALUE_PAIRs to cache.
         */
-       pool = talloc_pool(NULL, 1024);
+       pool = talloc_pool(NULL, 8192);
        for (map = inst->maps; map != NULL; map = map->next) {
                VALUE_PAIR      *to_cache = NULL;
                fr_cursor_t     cursor;