Only attempt trial notifications once

This commit is contained in:
Uku Taht 2020-06-20 20:33:12 +03:00
parent 0bcc389e73
commit 5e376766ac

View File

@ -1,6 +1,8 @@
defmodule Plausible.Workers.SendTrialNotifications do
use Plausible.Repo
use Oban.Worker, queue: :trial_notification_emails
use Oban.Worker,
queue: :trial_notification_emails,
max_attempts: 1
require Logger
@impl Oban.Worker