Browse Source

[CritFix] Increase default words_decay

pull/2530/head
Vsevolod Stakhov 7 years ago
parent
commit
b50a8429cf
  1. 2
      conf/options.inc
  2. 2
      src/libserver/cfg_utils.c

2
conf/options.inc

@ -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";

2
src/libserver/cfg_utils.c

@ -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

Loading…
Cancel
Save