Fix Sidekiq on Heroku
In order to run background jobs for apps hosted on Heroku, you must do the following:
Create the file config/initializers/sidekiq.rb
and put this in it:
Sidekiq.configure_server do |config|
config.redis = { ssl_params: { verify_mode: OpenSSL::SSL::VERIFY_NONE } }
end
Sidekiq.configure_client do |config|
config.redis = { ssl_params: { verify_mode: OpenSSL::SSL::VERIFY_NONE } }
end
Your app must also have the add-on:
Heroku Key-Value Store
Last updated