0
votes

I am new to Ruby on Rails, I am facing an issue where sidekiq with redis (redis://localhost:6379) on local is working fine(getting triggered) but is not working with rediscloud in heroku. What can be the issue?

My procfile contains:

web: bundle exec puma -C config/puma.rb
worker: bundle exec sidekiq -q critical -q applications -q default
1
silly question, but how do you know it isn't getting triggered? What logfiles are you looking at? And do you know the port numbers in question?ezuk

1 Answers

0
votes

The wiki notes how to set up your Redis provider on Heroku:

heroku config:set REDIS_PROVIDER=REDISCLOUD_URL

https://github.com/mperham/sidekiq/wiki/Using-Redis#using-an-env-variable