Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
arcusfelis committed Jan 15, 2024
1 parent caeb37e commit eba748b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion big_tests/tests/muc_helper.erl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ load_muc(HostType) ->
hibernated_room_timeout => 2000,
access => muc, access_create => muc_create},
LogOpts = #{outdir => "/tmp/muclogs", access_log => muc},
Res = dynamic_modules:start(HostType, mod_muc, make_opts(Opts)),
dynamic_modules:start(HostType, mod_muc, make_opts(Opts)),
dynamic_modules:start(HostType, mod_muc_log, make_log_opts(LogOpts)).

unload_muc() ->
Expand Down
4 changes: 2 additions & 2 deletions src/mod_caps.erl
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ config_spec() ->
validate = positive},
<<"cache_life_time">> => #option{type = integer,
validate = positive},
<<"backend">> => #option{type = atom,
validate = {module, ?MODULE}}
<<"backend">> => #option{type = atom,
validate = {module, ?MODULE}}
},
defaults = #{<<"cache_size">> => 1000,
<<"cache_life_time">> => timer:hours(24) div 1000,
Expand Down

0 comments on commit eba748b

Please sign in to comment.