Perform Sidekiq jobs immediately in development

Posted Over 9 years ago. Visible to the public.
# config/initializers/sidekiq.rb

# Perform Sidekiq jobs immediately in development,
# so you don't have to run a separate process.
# You'll also benefit from code reloading.
if Rails.env.development?
  require 'sidekiq/testing'
  Sidekiq::Testing.inline!
end
Thomas Klemm
Last edit
7 months ago
Michael Leimstädtner
License
Source code in this card is licensed under the MIT License.
Posted by Thomas Klemm to makandra dev (2014-09-16 14:08)