Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which ActiveJob queue does ActionMailer use in Rails 4.2?

In Rails 4.2, ActionMailer supports using the new background job abstraction layer called ActiveJob. ActiveJob puts jobs into background queues to be processed later outside of the flow of code that pushed the job into it.

The question is, since ActionMailer now supports automatic enqueuing of emails with the #deliver_later method, which queue do those emails get sent into.

like image 894
Asfand Qazi Avatar asked Oct 23 '25 01:10

Asfand Qazi


1 Answers

The answer is: according to the Sidekiq wiki, the "mailers" queue.

like image 164
Asfand Qazi Avatar answered Oct 25 '25 15:10

Asfand Qazi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!