Q:

ActionMailer observers not working with delayed_job

I have an ActionMailer observer that's working just fine during normal sends, but when I send the delivery to delayed_job, it doesn't get called at all. Is this a function of delayed_job itself, or something specific with my observer?
Controller:
BulkMailer.delay.blast(recipients, email, template)

Initializer:
ActionMailer::Base.register_observer(MailObserver)

Observer
class MailObserver
  def self.delivered_email(message)
    Rails.logger.debug 'Message: finished'
  end
end

A:

The code itself was fine, Delayed Job and ActionMailer observers are compatible. My problem was solved by restarting the workers.

