mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Skip mailer job retries when a record no longer exists (#9590)
Fix #8666
This commit is contained in:
parent
6a2d030c2f
commit
240c122767
3
config/initializers/delivery_job.rb
Normal file
3
config/initializers/delivery_job.rb
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
ActionMailer::DeliveryJob.class_eval do
|
||||||
|
discard_on ActiveJob::DeserializationError
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user