projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
022e6e4
)
RUM: Set rum status by the environment.
author
lain
<lain@soykaf.club>
Fri, 17 May 2019 13:06:51 +0000
(15:06 +0200)
committer
lain
<lain@soykaf.club>
Fri, 17 May 2019 13:21:24 +0000
(15:21 +0200)
config/test.exs
patch
|
blob
|
history
diff --git
a/config/test.exs
b/config/test.exs
index 40db66170f2af4ed98f5f92d051fb043bf13f92e..e1785d10fe27898a9ddb88d8869a9471b3deb180 100644
(file)
--- a/
config/test.exs
+++ b/
config/test.exs
@@
-63,6
+63,10
@@
config :pleroma, :app_account_creation, max_requests: 5
config :pleroma, :http_security, report_uri: "https://endpoint.com"
+rum_enabled = System.get_env("RUM_ENABLED") == "true"
+config :pleroma, :database, rum_enabled: rum_enabled
+IO.puts("RUM enabled: #{rum_enabled}")
+
try do
import_config "test.secret.exs"
rescue