1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-23 22:56:20 +09:00

Skip mailer job retries when a record no longer exists (#9590)

Fix #8666
This commit is contained in:
Eugen Rochko 2018-12-21 06:16:17 +01:00 committed by GitHub
parent 6a2d030c2f
commit 240c122767
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,3 @@
ActionMailer::DeliveryJob.class_eval do
discard_on ActiveJob::DeserializationError
end