From eba748be249b1093c6181f3592d4370b1c531c65 Mon Sep 17 00:00:00 2001 From: Mikhail Uvarov Date: Mon, 15 Jan 2024 15:23:44 +0100 Subject: [PATCH] Address review comments --- big_tests/tests/muc_helper.erl | 2 +- src/mod_caps.erl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/big_tests/tests/muc_helper.erl b/big_tests/tests/muc_helper.erl index 8e0c33745fb..783a1d4ad4d 100644 --- a/big_tests/tests/muc_helper.erl +++ b/big_tests/tests/muc_helper.erl @@ -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() -> diff --git a/src/mod_caps.erl b/src/mod_caps.erl index 1398d574ac9..dad980b250a 100644 --- a/src/mod_caps.erl +++ b/src/mod_caps.erl @@ -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,