aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-08-17 11:34:58 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-08-17 11:34:58 +0100
commit407ce92322b9f69ca3f5adf4cdc24b6edfd013c6 (patch)
tree9ca84e61a40e3316e5b4bf7e9c24db938d3ab426
parent66fc7bc9a71b78e466503386ddaee55f9929a60d (diff)
downloadrspamd-407ce92322b9f69ca3f5adf4cdc24b6edfd013c6.tar.gz
rspamd-407ce92322b9f69ca3f5adf4cdc24b6edfd013c6.zip
[Minor] Do not treat hyperscan load failure as a fatal error
-rw-r--r--src/libserver/cfg_utils.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libserver/cfg_utils.cxx b/src/libserver/cfg_utils.cxx
index 3b96a268e..f2253e051 100644
--- a/src/libserver/cfg_utils.cxx
+++ b/src/libserver/cfg_utils.cxx
@@ -923,10 +923,6 @@ rspamd_config_post_load(struct rspamd_config *cfg,
auto hs_ret = rspamd_re_cache_load_hyperscan(cfg->re_cache,
cfg->hs_cache_dir ? cfg->hs_cache_dir : RSPAMD_DBDIR "/",
true);
-
- if (hs_ret == RSPAMD_HYPERSCAN_LOAD_ERROR) {
- ret = FALSE;
- }
}
if (opts & RSPAMD_CONFIG_INIT_LIBS) {