]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[CritFix] Increase default words_decay
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 25 Sep 2018 15:54:31 +0000 (16:54 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 25 Sep 2018 15:54:31 +0000 (16:54 +0100)
conf/options.inc
src/libserver/cfg_utils.c

index f374fe76cf2b7d3c5fc192589bf0e202abcb8e14..a75c6341d8299e49c1d56261bf1e3cdd3b731e26 100644 (file)
@@ -34,7 +34,7 @@ allow_raw_input = true;
 
 # Start ignore words when reaching the following limit, so the total
 # amount of words processed will not be *LIKELY more than the twice of that limit
-words_decay = 200;
+words_decay = 600;
 
 # Write statistics about rspamd usage to the round-robin database
 rrd = "${DBDIR}/rspamd.rrd";
index fa1fac93503afcc53ffa7fb6ca798bd3402a8c72..f0b0a079aad327c366ed59d3d56d433e11748e7a 100644 (file)
@@ -41,7 +41,7 @@
 #define DEFAULT_MAP_FILE_WATCH_MULTIPLIER 1
 #define DEFAULT_MIN_WORD 0
 #define DEFAULT_MAX_WORD 40
-#define DEFAULT_WORDS_DECAY 200
+#define DEFAULT_WORDS_DECAY 600
 #define DEFAULT_MAX_MESSAGE (50 * 1024 * 1024)
 #define DEFAULT_MAX_PIC (1 * 1024 * 1024)
 #define DEFAULT_MAX_SHOTS 100