Skip to content

Commit df3a9a7

Browse files
committed
Add Active Job adapter
This starts us down the path of using Active Job, which is the preferred mechanism for jobs in Rails 7.1. Signed-off-by: jonathan.kerr <3410350+jonodrew@users.noreply.github.com>
1 parent ca69748 commit df3a9a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/application.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ class Application < Rails::Application
3434

3535
config.active_record.belongs_to_required_by_default = true
3636

37+
# let's start using Active Job!
38+
config.active_job.queue_adapter = :delayed_job
39+
3740
if ENV["RAILS_LOG_TO_STDOUT"].present?
3841
$stdout.sync = true
3942
config.rails_semantic_logger.add_file_appender = false

0 commit comments

Comments
 (0)