aboutsummaryrefslogtreecommitdiffstats
path: root/src/fuzzy_storage.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-08-18 16:43:35 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-08-18 16:43:35 +0100
commit9a7c049632a1a8f2946eaeaf7364ca541b19a389 (patch)
treecf6c1a8f9799666593c9450ae234fcd48472ad92 /src/fuzzy_storage.c
parent9eda8bfe586da07077e4a186e198075e687c963e (diff)
downloadrspamd-9a7c049632a1a8f2946eaeaf7364ca541b19a389.tar.gz
rspamd-9a7c049632a1a8f2946eaeaf7364ca541b19a389.zip
Fix default expiration.
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r--src/fuzzy_storage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c
index c0ead6828..d41b922d2 100644
--- a/src/fuzzy_storage.c
+++ b/src/fuzzy_storage.c
@@ -292,6 +292,7 @@ init_fuzzy (struct rspamd_config *cfg)
ctx = g_malloc0 (sizeof (struct rspamd_fuzzy_storage_ctx));
ctx->sync_timeout = DEFAULT_SYNC_TIMEOUT;
+ ctx->expire = DEFAULT_EXPIRE;
rspamd_rcl_register_worker_option (cfg, type, "hashfile",
rspamd_rcl_parse_struct_string, ctx,