diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-11-12 23:24:15 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-11-12 23:24:15 +0000 |
commit | 9106fba8f60aa344a2258fadb4a456589360fae0 (patch) | |
tree | 1fb4b8aa4d8c15781537e966f7fcfe6397f2b876 /conf/modules.d | |
parent | c10f4cf4169a8d0ad9709f8c7b6b187edc207b1f (diff) | |
download | rspamd-9106fba8f60aa344a2258fadb4a456589360fae0.tar.gz rspamd-9106fba8f60aa344a2258fadb4a456589360fae0.zip |
[Minor] Tune default parameters for fann module
Diffstat (limited to 'conf/modules.d')
-rw-r--r-- | conf/modules.d/fann_redis.conf | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/conf/modules.d/fann_redis.conf b/conf/modules.d/fann_redis.conf index 36e9e3743..f12224d48 100644 --- a/conf/modules.d/fann_redis.conf +++ b/conf/modules.d/fann_redis.conf @@ -15,12 +15,14 @@ fann_redis { #servers = 127.0.0.1:6379; # Redis server to store learning data and ANN + train { - max_train = 10k; # Number of trains per epoch - max_usages = 10; # Number of learn iterations while ANN data is valid + max_train = 1k; # Number of trains per epoch + max_usages = 20; # Number of learn iterations while ANN data is valid spam_score = 8; # Score to learn spam ham_score = -2; # Score to learn ham } + timeout = 20; # Increase redis timeout enabled = false; # Explicitly disable module use_settings = false; # If enabled, then settings-id could switch this module to another FANN |