aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_utils.cxx
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-09-05 13:28:49 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-09-05 13:28:49 +0100
commit07fe44a24fc89ab726e359a1b0895cafaecef611 (patch)
tree4410dfa2b5efa1c60ec0496c29f2a0d78000de1b /src/libserver/cfg_utils.cxx
parent4f4d0c8e3a3be7952a9ec4b11c699e4512172345 (diff)
downloadrspamd-07fe44a24fc89ab726e359a1b0895cafaecef611.tar.gz
rspamd-07fe44a24fc89ab726e359a1b0895cafaecef611.zip
[Feature] Add `logging`->`task_max_elts` option
Issue: #4583
Diffstat (limited to 'src/libserver/cfg_utils.cxx')
-rw-r--r--src/libserver/cfg_utils.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/cfg_utils.cxx b/src/libserver/cfg_utils.cxx
index 5c5a8a24b..12074a83a 100644
--- a/src/libserver/cfg_utils.cxx
+++ b/src/libserver/cfg_utils.cxx
@@ -279,6 +279,7 @@ rspamd_config_new(enum rspamd_config_init_flags flags)
cfg->history_rows = 200;
cfg->log_error_elts = 10;
cfg->log_error_elt_maxlen = 1000;
+ cfg->log_task_max_elts = 7;
cfg->cache_reload_time = 30.0;
cfg->max_lua_urls = 1024;
cfg->max_urls = cfg->max_lua_urls * 10;