commit 407ce92: [Minor] Do not treat hyperscan load failure as a fatal error
Vsevolod Stakhov
vsevolod at rspamd.com
Thu Aug 17 11:49:19 UTC 2023
Author: Vsevolod Stakhov
Date: 2023-08-17 11:34:58 +0100
URL: https://github.com/rspamd/rspamd/commit/407ce92322b9f69ca3f5adf4cdc24b6edfd013c6
[Minor] Do not treat hyperscan load failure as a fatal error
---
src/libserver/cfg_utils.cxx | 4 ----
1 file changed, 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) {
More information about the Commits
mailing list