projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'recipients-query-speedup' into 'develop'
[akkoma]
/
lib
/
pleroma
/
workers
/
mailer_worker.ex
diff --git
a/lib/pleroma/workers/mailer_worker.ex
b/lib/pleroma/workers/mailer_worker.ex
index a4bd54a6cd0467a39f9052d92aa62daaf95bcb0a..6955338a5014bcfc7168a58c4a19617fc17c5296 100644
(file)
--- a/
lib/pleroma/workers/mailer_worker.ex
+++ b/
lib/pleroma/workers/mailer_worker.ex
@@
-1,13
+1,8
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-20
19
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-20
20
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Workers.MailerWorker do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Workers.MailerWorker do
- # Note: `max_attempts` is intended to be overridden in `new/2` call
- use Oban.Worker,
- queue: "mailer",
- max_attempts: 1
-
use Pleroma.Workers.WorkerHelper, queue: "mailer"
@impl Oban.Worker
use Pleroma.Workers.WorkerHelper, queue: "mailer"
@impl Oban.Worker