Browse Source

[CritFix] Increase default words_decay

tags/1.8.1
Vsevolod Stakhov 5 years ago
parent
commit
b50a8429cf
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      conf/options.inc
  2. 1
    1
      src/libserver/cfg_utils.c

+ 1
- 1
conf/options.inc View 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";

+ 1
- 1
src/libserver/cfg_utils.c View 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

Loading…
Cancel
Save