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