diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-10 00:36:03 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-10 00:36:03 +0100 |
commit | f4d576701c8fd2a8ea7512fa7dea70ae9f3dff2d (patch) | |
tree | 926173dfa3f4443921518d45c408f88088d5808a /src/libstat/stat_config.c | |
parent | 9c19146f9b903aa0d1323faf58d920897ec61f72 (diff) | |
download | rspamd-f4d576701c8fd2a8ea7512fa7dea70ae9f3dff2d.tar.gz rspamd-f4d576701c8fd2a8ea7512fa7dea70ae9f3dff2d.zip |
Add finalize process operation.
We could use sqlite transaction for reading as well.
Diffstat (limited to 'src/libstat/stat_config.c')
-rw-r--r-- | src/libstat/stat_config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstat/stat_config.c b/src/libstat/stat_config.c index c75b02fe0..6f27d1c10 100644 --- a/src/libstat/stat_config.c +++ b/src/libstat/stat_config.c @@ -60,6 +60,7 @@ static struct rspamd_stat_tokenizer stat_tokenizers[] = { .init = rspamd_##eltn##_init, \ .runtime = rspamd_##eltn##_runtime, \ .process_token = rspamd_##eltn##_process_token, \ + .finalize_process = rspamd_##eltn##_finalize_process, \ .learn_token = rspamd_##eltn##_learn_token, \ .finalize_learn = rspamd_##eltn##_finalize_learn, \ .total_learns = rspamd_##eltn##_total_learns, \ |