25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Clear fast_tls cache on configuration reload

This commit is contained in:
Evgeniy Khramtsov 2018-04-13 11:10:20 +03:00
parent 3cf4fbc7b0
commit d0f36537fb
2 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,7 @@
{tag, {if_version_above, "17", "3.4.2", "3.2.1"}}}},
{p1_utils, ".*", {git, "https://github.com/processone/p1_utils", {tag, "1.0.11"}}},
{cache_tab, ".*", {git, "https://github.com/processone/cache_tab", {tag, "1.0.13"}}},
{fast_tls, ".*", {git, "https://github.com/processone/fast_tls", {tag, "1.0.21"}}},
{fast_tls, ".*", {git, "https://github.com/processone/fast_tls", "a166f0e"}},
{stringprep, ".*", {git, "https://github.com/processone/stringprep", {tag, "1.0.11"}}},
{fast_xml, ".*", {git, "https://github.com/processone/fast_xml", {tag, "1.1.29"}}},
{xmpp, ".*", {git, "https://github.com/processone/xmpp", "bb88d59"}},

View File

@ -172,6 +172,7 @@ config_reloaded() ->
true -> init_cache();
false -> delete_cache()
end,
fast_tls:clear_cache(),
gen_server:call(?MODULE, config_reloaded, 60000).
opt_type(ca_path) ->