Commit 8ddb91eb authored by Eugenij's avatar Eugenij

Fix assertion in Scheduler.init

parent 195c8838
......@@ -29,7 +29,7 @@ defmodule PleromaJobQueue.Scheduler do
@impl true
def init(_) do
with true <- PleromaJobQueue.enabled?() and enabled?(),
{:ok, state} = @store.init([]) do
{:ok, state} <- @store.init([]) do
{:ok, state}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment