1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Wait on this for later

This commit is contained in:
David Heinemeier Hansson 2018-09-17 17:16:51 -07:00
parent 7dc484a553
commit 12deb313e0

View file

@ -1,9 +1,6 @@
class ActionMailroom::DeliverInboundEmailToMailroomJob < ApplicationJob
queue_as :action_mailroom_inbound_email
# Occasional `SSL_read: decryption failed or bad record mac` that resolve on retry
retry_on OpenSSL::SSL::SSLError
def perform(inbound_email)
ActionMailroom::Router.receive inbound_email
end