diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-05-19 17:18:43 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-05-19 17:18:43 +0100 |
commit | 13a13b60f155603393c5575ccfdeaa877cb613b6 (patch) | |
tree | 50d47f0d708d1b41dedb758928c7073f29c9a105 /src/libserver/cfg_utils.c | |
parent | a102caecf7ab481bf4f3f5f4a233a5e64467e4d2 (diff) | |
download | rspamd-13a13b60f155603393c5575ccfdeaa877cb613b6.tar.gz rspamd-13a13b60f155603393c5575ccfdeaa877cb613b6.zip |
[Minor] Add `max_recipients` config knob
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r-- | src/libserver/cfg_utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index d3ad9e210..6b3f3e15b 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -221,6 +221,7 @@ rspamd_config_new (enum rspamd_config_init_flags flags) cfg->cache_reload_time = 30.0; cfg->max_lua_urls = 1024; cfg->max_urls = cfg->max_lua_urls * 10; + cfg->max_recipients = 1024; cfg->max_blas_threads = 1; cfg->max_opts_len = 4096; |