Sidekiq adapter for Active Job
Simple, efficient background processing for Ruby. Sidekiq uses threads to handle many jobs at the same time in the same process. It does not require Rails but will integrate tightly with it to make background processing dead simple.
Read more about Sidekiq here.
To use Sidekiq set the queue_adapter config to :sidekiq
.
Rails.application.config.active_job.queue_adapter = :sidekiq
Methods
Instance Public methods
check_adapter()
📝 Source code
# File activejob/lib/active_job/queue_adapters/sidekiq_adapter.rb, line 33
def check_adapter
ActiveJob.deprecator.warn <<~MSG.squish
The built-in `sidekiq` adapter is deprecated and will be removed in Rails 8.2.
Please upgrade `sidekiq` gem to version 7.3.3 or later to use the `sidekiq` gem's adapter.
MSG
end
🔎 See on GitHub