forked from mirrors/akkoma
combo fixes
This commit is contained in:
parent
fd7e9bdd25
commit
87d2805791
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ defmodule Pleroma.Stats 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue