mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
5 lines
112 B
Ruby
5 lines
112 B
Ruby
|
require 'active_job/async_job'
|
||
|
|
||
|
ActiveJob::Base.queue_adapter = :async
|
||
|
ActiveJob::AsyncJob.perform_immediately!
|