diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-08-18 16:43:35 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-08-18 16:43:35 +0100 |
commit | 9a7c049632a1a8f2946eaeaf7364ca541b19a389 (patch) | |
tree | cf6c1a8f9799666593c9450ae234fcd48472ad92 /src/fuzzy_storage.c | |
parent | 9eda8bfe586da07077e4a186e198075e687c963e (diff) | |
download | rspamd-9a7c049632a1a8f2946eaeaf7364ca541b19a389.tar.gz rspamd-9a7c049632a1a8f2946eaeaf7364ca541b19a389.zip |
Fix default expiration.
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r-- | src/fuzzy_storage.c | 1 |
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, |