mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-01-26 17:08:11 +00:00
fix defaults
This commit is contained in:
parent
b2e9700785
commit
56533495b5
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ defmodule Pleroma.Jobs do
|
||||||
apply(mod, :perform, args)
|
apply(mod, :perform, args)
|
||||||
end
|
end
|
||||||
else
|
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})
|
GenServer.cast(__MODULE__, {:enqueue, queue_name, mod, args, priority})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue