Instead allow a dedicated benchmark config
This commit is contained in:
parent
50638525db
commit
b7811dfb7b
@ -83,10 +83,10 @@
|
|||||||
|
|
||||||
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 New Issue
Block a user