mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
mod_push: Support cache config changes on reload
This commit is contained in:
parent
ec61c2f3dc
commit
37c75f556d
@ -119,7 +119,9 @@ reload(Host, NewOpts, OldOpts) ->
|
||||
NewMod:init(Host, NewOpts);
|
||||
true ->
|
||||
ok
|
||||
end.
|
||||
end,
|
||||
init_cache(NewMod, Host, NewOpts),
|
||||
ok.
|
||||
|
||||
-spec depends(binary(), gen_mod:opts()) -> [{module(), hard | soft}].
|
||||
depends(_Host, _Opts) ->
|
||||
|
Loading…
Reference in New Issue
Block a user