Skip to content

Commit 147f8de

Browse files
authored
update delayed_job (#1284)
* update delayed_job * on load
1 parent bebeb69 commit 147f8de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/initializers/active_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Use delayed_job for background jobs
2-
Rails.application.config.active_job.queue_adapter = :delayed_job
2+
ActiveSupport.on_load(:active_job) { ActiveJob::Base.queue_adapter = :delayed_job }

0 commit comments

Comments
 (0)