Skip to content

Commit

Permalink
[Minor] Do not treat hyperscan load failure as a fatal error
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Aug 17, 2023
1 parent 66fc7bc commit 407ce92
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/libserver/cfg_utils.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 407ce92

Please sign in to comment.