From: Vsevolod Stakhov Date: Mon, 10 Jun 2019 11:35:21 +0000 (+0100) Subject: [Conf] Slashing: Change default stats backend to Redis X-Git-Tag: 2.0~806 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2664ce23923f069117072fe4966db9f5a222e54;p=thirdparty%2Frspamd.git [Conf] Slashing: Change default stats backend to Redis --- diff --git a/conf/statistic.conf b/conf/statistic.conf index d9b9a1b722..d2b5b147ad 100644 --- a/conf/statistic.conf +++ b/conf/statistic.conf @@ -26,19 +26,20 @@ classifier "bayes" { cache { path = "${DBDIR}/learn_cache.sqlite"; } + new_schema = true; # Always use new schema + store_tokens = false; # Redefine if storing of tokens is desired + signatures = false; # Store learn signatures + #per_user = true; # Enable per user classifier min_tokens = 11; - backend = "sqlite3"; - languages_enabled = true; + backend = "redis"; min_learns = 200; statfile { symbol = "BAYES_HAM"; - path = "${DBDIR}/bayes.ham.sqlite"; spam = false; } statfile { symbol = "BAYES_SPAM"; - path = "${DBDIR}/bayes.spam.sqlite"; spam = true; } learn_condition =<