mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-03 18:02:28 +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);
|
NewMod:init(Host, NewOpts);
|
||||||
true ->
|
true ->
|
||||||
ok
|
ok
|
||||||
end.
|
end,
|
||||||
|
init_cache(NewMod, Host, NewOpts),
|
||||||
|
ok.
|
||||||
|
|
||||||
-spec depends(binary(), gen_mod:opts()) -> [{module(), hard | soft}].
|
-spec depends(binary(), gen_mod:opts()) -> [{module(), hard | soft}].
|
||||||
depends(_Host, _Opts) ->
|
depends(_Host, _Opts) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user