diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-08-17 11:34:58 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-08-17 11:34:58 +0100 |
commit | 407ce92322b9f69ca3f5adf4cdc24b6edfd013c6 (patch) | |
tree | 9ca84e61a40e3316e5b4bf7e9c24db938d3ab426 | |
parent | 66fc7bc9a71b78e466503386ddaee55f9929a60d (diff) | |
download | rspamd-407ce92322b9f69ca3f5adf4cdc24b6edfd013c6.tar.gz rspamd-407ce92322b9f69ca3f5adf4cdc24b6edfd013c6.zip |
[Minor] Do not treat hyperscan load failure as a fatal error
-rw-r--r-- | src/libserver/cfg_utils.cxx | 4 |
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) { |