On 03/02/16 08:02, Axb wrote:
On 03/02/2016 04:52 PM, Marc Perkel wrote:
My Redis bayes keeps growing. It acts like it's not expiring like it
should. Do I need to do something to force expire? Also - anything ekse
I should set?

Here's my settings.

bayes_sql_dsn  server=localhost:6379
use_bayes 1
use_bayes_rules 1

# Your choice if you want to use auto_learn
bayes_auto_learn  1

use_learner 1
bayes_learn_to_journal 0

# THIS IS MANDATORY - You do NOT need to run sa-learn to expire tokens
# *_ttl below takes care of it.
bayes_auto_expire  1

# You  will need to changes this according to your need
# This replaces sa-learn's sql/file based expire routines.
bayes_token_ttl 3d
bayes_seen_ttl  1d



run
"redis-cli info" and see

"expired_keys

expired_keys:0

This doesn't look right.

db0:keys=56725213,expires=3,avg_ttl=257005915



--
Marc Perkel - Sales/Support
supp...@junkemailfilter.com
http://www.junkemailfilter.com
Junk Email Filter dot com
415-992-3400

Reply via email to