]> source.dussan.org Git - rspamd.git/commitdiff
[Conf] Disable fann_redis module by default
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 3 Oct 2017 18:25:47 +0000 (19:25 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 3 Oct 2017 18:26:09 +0000 (19:26 +0100)
conf/modules.d/fann_redis.conf

index 5ddae1e9b19316e4c02a47e3dc432331b3cc6e9f..36e9e37434d0fface1d3bb977f379ab194ac0d3b 100644 (file)
@@ -21,6 +21,8 @@ fann_redis {
     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
   .include(try=true,priority=5) "${DBDIR}/dynamic/fann_redis.conf"
   .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/fann_redis.conf"