projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2e9700
)
fix defaults
author
Egor Kislitsyn
<egor@kislitsyn.com>
Mon, 28 Jan 2019 17:33:08 +0000
(
00:33
+0700)
committer
Egor Kislitsyn
<egor@kislitsyn.com>
Mon, 28 Jan 2019 17:33:08 +0000
(
00:33
+0700)
lib/pleroma/jobs.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/jobs.ex
b/lib/pleroma/jobs.ex
index 2a75ff529a59c6097be6482fdae5684e841d87bc..d42688193d8fbc1819980e9a1aa4d848a325d9ea 100644
(file)
--- 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