Clear fast_tls cache on configuration reload
This commit is contained in:
parent
3cf4fbc7b0
commit
d0f36537fb
|
@ -22,7 +22,7 @@
|
||||||
{tag, {if_version_above, "17", "3.4.2", "3.2.1"}}}},
|
{tag, {if_version_above, "17", "3.4.2", "3.2.1"}}}},
|
||||||
{p1_utils, ".*", {git, "https://github.com/processone/p1_utils", {tag, "1.0.11"}}},
|
{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"}}},
|
{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"}}},
|
{stringprep, ".*", {git, "https://github.com/processone/stringprep", {tag, "1.0.11"}}},
|
||||||
{fast_xml, ".*", {git, "https://github.com/processone/fast_xml", {tag, "1.1.29"}}},
|
{fast_xml, ".*", {git, "https://github.com/processone/fast_xml", {tag, "1.1.29"}}},
|
||||||
{xmpp, ".*", {git, "https://github.com/processone/xmpp", "bb88d59"}},
|
{xmpp, ".*", {git, "https://github.com/processone/xmpp", "bb88d59"}},
|
||||||
|
|
|
@ -172,6 +172,7 @@ config_reloaded() ->
|
||||||
true -> init_cache();
|
true -> init_cache();
|
||||||
false -> delete_cache()
|
false -> delete_cache()
|
||||||
end,
|
end,
|
||||||
|
fast_tls:clear_cache(),
|
||||||
gen_server:call(?MODULE, config_reloaded, 60000).
|
gen_server:call(?MODULE, config_reloaded, 60000).
|
||||||
|
|
||||||
opt_type(ca_path) ->
|
opt_type(ca_path) ->
|
||||||
|
|
Loading…
Reference in New Issue