forked from mirrors/akkoma
fix defaults
This commit is contained in:
parent
b2e9700785
commit
56533495b5
|
@ -76,7 +76,7 @@ def enqueue(_queue_name, mod, args, _priority) 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
|
||||
|
|
Loading…
Reference in a new issue