diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-23 16:40:20 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-23 16:40:20 +0000 |
commit | 92abcea04fa67e69bb5951049e945356ceae4670 (patch) | |
tree | b147dbe79dcc74c729f61a9262dd638d68637bc5 /src/libutil/upstream.c | |
parent | e6c42dc71175916c01074f5605afc5b3257fe725 (diff) | |
download | rspamd-92abcea04fa67e69bb5951049e945356ceae4670.tar.gz rspamd-92abcea04fa67e69bb5951049e945356ceae4670.zip |
[Project] Support mempool flags
Diffstat (limited to 'src/libutil/upstream.c')
-rw-r--r-- | src/libutil/upstream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/upstream.c b/src/libutil/upstream.c index 7d8b81048..196d9cde8 100644 --- a/src/libutil/upstream.c +++ b/src/libutil/upstream.c @@ -258,7 +258,7 @@ rspamd_upstreams_library_init (void) ctx = g_malloc0 (sizeof (*ctx)); memcpy (&ctx->limits, &default_limits, sizeof (ctx->limits)); ctx->pool = rspamd_mempool_new (rspamd_mempool_suggest_size (), - "upstreams"); + "upstreams", 0); ctx->upstreams = g_queue_new (); REF_INIT_RETAIN (ctx, rspamd_upstream_ctx_dtor); |