aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_config.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-18 15:14:08 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-18 15:14:08 +0000
commitc744a20b8605f81251f14945f97f832c8306920a (patch)
tree06f7d3e017c7ab684a098f352e64e8e0d41af09c /src/libstat/stat_config.c
parentddec997069bbdb56fa1438c07a211cd66b4a79c8 (diff)
downloadrspamd-c744a20b8605f81251f14945f97f832c8306920a.tar.gz
rspamd-c744a20b8605f81251f14945f97f832c8306920a.zip
Invalidate learned files to update their content.
Diffstat (limited to 'src/libstat/stat_config.c')
-rw-r--r--src/libstat/stat_config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstat/stat_config.c b/src/libstat/stat_config.c
index 17b5c54f5..8a0514721 100644
--- a/src/libstat/stat_config.c
+++ b/src/libstat/stat_config.c
@@ -51,6 +51,7 @@ static struct rspamd_stat_backend stat_backends[] = {
.runtime = rspamd_mmaped_file_runtime,
.process_token = rspamd_mmaped_file_process_token,
.learn_token = rspamd_mmaped_file_learn_token,
+ .finalize_learn = rspamd_mmaped_file_finalize_learn,
.total_learns = rspamd_mmaped_file_total_learns,
.inc_learns = rspamd_mmaped_file_inc_learns,
.dec_learns = rspamd_mmaped_file_dec_learns,