projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5653349
)
add spec back
author
Egor Kislitsyn
<egor@kislitsyn.com>
Mon, 28 Jan 2019 17:35:57 +0000
(
00:35
+0700)
committer
Egor Kislitsyn
<egor@kislitsyn.com>
Mon, 28 Jan 2019 17:35:57 +0000
(
00:35
+0700)
lib/pleroma/jobs.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/jobs.ex
b/lib/pleroma/jobs.ex
index d42688193d8fbc1819980e9a1aa4d848a325d9ea..16dccb6824c6da512c638ab7c234a31b5e129c5c 100644
(file)
--- a/
lib/pleroma/jobs.ex
+++ b/
lib/pleroma/jobs.ex
@@
-76,6
+76,7
@@
defmodule Pleroma.Jobs do
apply(mod, :perform, args)
end
else
+ @spec enqueue(atom(), atom(), [any()], integer()) :: :ok
def enqueue(queue_name, mod, args, priority) do
GenServer.cast(__MODULE__, {:enqueue, queue_name, mod, args, priority})
end