projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Documentation: Add warning about database mix tasks.
[akkoma]
/
lib
/
pleroma
/
workers
/
transmogrifier_worker.ex
diff --git
a/lib/pleroma/workers/transmogrifier_worker.ex
b/lib/pleroma/workers/transmogrifier_worker.ex
index 6f5c1a2f29cd184aa3fa822651d339cd5a1e201e..b581a2f86713eebbb9c406adc9811d11a6f3957d 100644
(file)
--- a/
lib/pleroma/workers/transmogrifier_worker.ex
+++ b/
lib/pleroma/workers/transmogrifier_worker.ex
@@
-5,10
+5,7
@@
defmodule Pleroma.Workers.TransmogrifierWorker do
alias Pleroma.User
defmodule Pleroma.Workers.TransmogrifierWorker do
alias Pleroma.User
- # Note: `max_attempts` is intended to be overridden in `new/2` call
- use Oban.Worker,
- queue: "transmogrifier",
- max_attempts: 1
+ use Pleroma.Workers.WorkerHelper, queue: "transmogrifier"
@impl Oban.Worker
def perform(%{"op" => "user_upgrade", "user_id" => user_id}, _job) do
@impl Oban.Worker
def perform(%{"op" => "user_upgrade", "user_id" => user_id}, _job) do