diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-06-24 20:25:54 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-06-24 20:25:54 +0400 |
commit | a3fa4d672341fd2f1888d3a2f2ed85ae57913b78 (patch) | |
tree | 352c634bbbc74cf17644545ace66a8feedc841c3 /src/cfg_xml.c | |
parent | 63725086863e4f422340479f83dd7ef374613e76 (diff) | |
download | rspamd-a3fa4d672341fd2f1888d3a2f2ed85ae57913b78.tar.gz rspamd-a3fa4d672341fd2f1888d3a2f2ed85ae57913b78.zip |
* Welcome 0.4.0
Uncompatible changes:
- Statistics is uncompatible in utf8 mode
Major changes:
- Improved utf8 mode
- Convert all characters to lowercase in statistics
- Skip URL's in statistics
- Improve speed of bayes classifier by using integer arithmetics
- Fixed statfiles synchronization that was broken for a long time
- Synchronization is now configurable
Minor changes:
- Bugfixes
- Removed some of legacy code
- Types polishing
Diffstat (limited to 'src/cfg_xml.c')
-rw-r--r-- | src/cfg_xml.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cfg_xml.c b/src/cfg_xml.c index fba925cc6..09f6574a0 100644 --- a/src/cfg_xml.c +++ b/src/cfg_xml.c @@ -281,6 +281,18 @@ static struct xml_parser_rule grammar[] = { G_STRUCT_OFFSET (struct config_file, filters_str), NULL }, + { + "sync_interval", + xml_handle_seconds, + G_STRUCT_OFFSET (struct config_file, statfile_sync_interval), + NULL + }, + { + "sync_timeout", + xml_handle_seconds, + G_STRUCT_OFFSET (struct config_file, statfile_sync_timeout), + NULL + }, NULL_ATTR }, NULL_DEF_ATTR |