combo fixes

This commit is contained in:
Alexander Strizhakov 2020-09-08 17:29:28 +03:00 committed by Haelwenn (lanodan) Monnier
parent fd7e9bdd25
commit 87d2805791
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE

View file

@ -23,6 +23,7 @@ def start_link(_) do
@impl true @impl true
def init(_args) do def init(_args) do
if Pleroma.Config.get(:env) == :test, do: :ok = Ecto.Adapters.SQL.Sandbox.checkout(Repo)
{:ok, nil, {:continue, :calculate_stats}} {:ok, nil, {:continue, :calculate_stats}}
end end