diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-12 18:11:10 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-12 18:11:10 +0000 |
commit | ba850e0b86aa9fc555426422191be0aec80bb7d2 (patch) | |
tree | 03f53fd7749815247d956c9c56eb62c62ff85f02 /src/libserver/cfg_file.h | |
parent | 5784f28e0f559f4dbde268276e3bc46ebf3c3e7f (diff) | |
download | rspamd-ba850e0b86aa9fc555426422191be0aec80bb7d2.tar.gz rspamd-ba850e0b86aa9fc555426422191be0aec80bb7d2.zip |
Add max_word_len and words_decay options
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r-- | src/libserver/cfg_file.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h index 06e8372a0..6e87acafe 100644 --- a/src/libserver/cfg_file.h +++ b/src/libserver/cfg_file.h @@ -307,7 +307,9 @@ struct rspamd_config { gdouble upstream_error_time; /**< rate of upstream errors */ gdouble upstream_revive_time; /**< revive timeout for upstreams */ - guint32 min_word_len; /**< minimum length of the word to be considered */ + guint min_word_len; /**< minimum length of the word to be considered */ + guint max_word_len; /**< maximum length of the word to be considered */ + guint words_decay; /**< limit for words for starting adaptive ignoring */ guint history_rows; /**< number of history rows stored */ GList *classify_headers; /**< list of headers using for statistics */ |