mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
Instead allow a dedicated benchmark config
This commit is contained in:
parent
50638525db
commit
b7811dfb7b
1 changed files with 3 additions and 3 deletions
|
@ -83,10 +83,10 @@ IO.puts("RUM enabled: #{rum_enabled}")
|
||||||
|
|
||||||
config :pleroma, Pleroma.ReverseProxy.Client, Pleroma.ReverseProxy.ClientMock
|
config :pleroma, Pleroma.ReverseProxy.Client, Pleroma.ReverseProxy.ClientMock
|
||||||
|
|
||||||
if File.exists?("./config/test.secret.exs") do
|
if File.exists?("./config/benchmark.secret.exs") do
|
||||||
import_config "test.secret.exs"
|
import_config "benchmark.secret.exs"
|
||||||
else
|
else
|
||||||
IO.puts(
|
IO.puts(
|
||||||
"You may want to create test.secret.exs to declare custom database connection parameters."
|
"You may want to create benchmark.secret.exs to declare custom database connection parameters."
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue