Skip to content

Commit

Permalink
Enable in mim1 and prod alone
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides committed Jul 2, 2021
1 parent 3a2f88c commit 405b6fc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 2 additions & 3 deletions rel/files/mongooseim.toml
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,9 @@
users_can_see_hidden_services = false

[modules.mod_commands]

[modules.mod_cache_users]
{{#mod_cache_users}}
{{{mod_cache_users}}}

[modules.mod_cache_users]{{{mod_cache_users}}}
{{/mod_cache_users}}

[modules.mod_muc_commands]
Expand Down
4 changes: 3 additions & 1 deletion rel/mim1.vars-toml.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
auth.methods = [\"dummy\"]
auth.dummy.base_time = 1
auth.dummy.variance = 5
[host_config.modules.mod_cache_users]
[host_config.modules.mod_carboncopy]
[host_config.modules.mod_stream_management]
[host_config.modules.mod_disco]
Expand Down Expand Up @@ -72,7 +73,8 @@

{mod_amp, "[modules.mod_amp]"}.
{mod_private, "[modules.mod_private]"}.
{mod_cache_users, " time_to_live = 2
{mod_cache_users, "
time_to_live = 2
number_of_segments = 5"}.
{zlib, "10_000"}.
{c2s_dhfile, "\"priv/ssl/fake_dh_server.pem\""}.
Expand Down
2 changes: 2 additions & 0 deletions rel/mim2.vars-toml.config
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,5 @@
host_type = \"test type\"
modules = { }
auth = { methods = [\"dummy\"] }"}.

{mod_cache_users, false}.
2 changes: 2 additions & 0 deletions rel/mim3.vars-toml.config
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,5 @@

{c2s_dhfile, "\"priv/ssl/fake_dh_server.pem\""}.
{s2s_dhfile, "\"priv/ssl/fake_dh_server.pem\""}.

{mod_cache_users, false}.

0 comments on commit 405b6fc

Please sign in to comment.