From: Mark Felder Date: Wed, 11 Dec 2019 18:52:57 +0000 (-0600) Subject: Benchmark env uses test database so we should be able to use test.secret.exs X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=df469b4468168cf072e73df73e0fdde2bbab1da5;p=akkoma Benchmark env uses test database so we should be able to use test.secret.exs --- diff --git a/config/benchmark.exs b/config/benchmark.exs index dd99cf5fd..c7ddb80e7 100644 --- a/config/benchmark.exs +++ b/config/benchmark.exs @@ -82,3 +82,11 @@ config :pleroma, :database, rum_enabled: rum_enabled IO.puts("RUM enabled: #{rum_enabled}") config :pleroma, Pleroma.ReverseProxy.Client, Pleroma.ReverseProxy.ClientMock + +if File.exists?("./config/test.secret.exs") do + import_config "test.secret.exs" +else + IO.puts( + "You may want to create test.secret.exs to declare custom database connection parameters." + ) +end