aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2020-11-04 09:04:30 +0100
committerHolger Weiss <holger@zedat.fu-berlin.de>2020-11-04 09:04:30 +0100
commit37c75f556d402ffa4466b6c97e2d53a9aab66c84 (patch)
tree4c31e22b86c9730d9a7c7c2e74fec705ce469ae4 /src
parentChange split character in PROXY_USER from \x04 to : (diff)
mod_push: Support cache config changes on reload
Diffstat (limited to 'src')
-rw-r--r--src/mod_push.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mod_push.erl b/src/mod_push.erl
index 42f0b7a43..e8e2751b4 100644
--- a/src/mod_push.erl
+++ b/src/mod_push.erl
@@ -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) ->