From: Egor Kislitsyn Date: Mon, 28 Jan 2019 17:33:08 +0000 (+0700) Subject: fix defaults X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=56533495b53c12223678de3f2fc6df8ee1165c19;p=akkoma fix defaults --- diff --git a/lib/pleroma/jobs.ex b/lib/pleroma/jobs.ex index 2a75ff529..d42688193 100644 --- a/lib/pleroma/jobs.ex +++ b/lib/pleroma/jobs.ex @@ -76,7 +76,7 @@ defmodule Pleroma.Jobs do apply(mod, :perform, args) end else - def enqueue(queue_name, mod, args, priority \\ 1) do + def enqueue(queue_name, mod, args, priority) do GenServer.cast(__MODULE__, {:enqueue, queue_name, mod, args, priority}) end end