Browse Source

Fix cache initialization

tags/1.1.0
Vsevolod Stakhov 8 years ago
parent
commit
d1ec922203
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/libserver/cfg_utils.c

+ 3
- 3
src/libserver/cfg_utils.c View File

@@ -670,14 +670,14 @@ rspamd_config_post_load (struct rspamd_config *cfg, gboolean validate_cache)
/* Init config cache */
rspamd_symbols_cache_init (cfg->cache);

/* Init re cache */
rspamd_re_cache_init (cfg->re_cache);

/* Validate cache */
if (validate_cache) {
return rspamd_symbols_cache_validate (cfg->cache, cfg, FALSE);
}

/* Init re cache */
rspamd_re_cache_init (cfg->re_cache);

return TRUE;
}


Loading…
Cancel
Save