From a3fa4d672341fd2f1888d3a2f2ed85ae57913b78 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 24 Jun 2011 20:25:54 +0400 Subject: * 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 --- src/cfg_xml.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/cfg_xml.c') 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 -- cgit v1.2.3