Quantcast
Channel: Active questions tagged redis+ruby-on-rails - Stack Overflow
Viewing all articles
Browse latest Browse all 873

Sidekiq jobs not queueing on rails app deployed to heroku

$
0
0

I have a rails app using sidekiq, sidekiq-status, and sidekiq batching:

gem "sidekiq"gem "sidekiq-status"# freemium version vs sidekiq pro https://github.com/breamware/sidekiq-batchgem "sidekiq-batch"# slim & sinatra for sidekiq monitoringgem "sinatra", "2.0.0.beta2", require: nil

Locally when I run sidekiq and redis, the jobs process.When deployed to heroku, the jobs are queued but they do not process.

I am using the Rediscloud and have the env variable REDIS_PROVIDER set to REDISCLOUD_URL and both REDISCLOUD_URL and REDIS_URL set to the generated url from the Rediscloud addon.

Procfile:

high_worker: DB_POOL=$SIDEKIQ_DB_POOL bundle exec sidekiq -c $SIDEKIQ_CONCURRENCY -t 8 -q highdefault_worker: DB_POOL=$SIDEKIQ_DB_POOL bundle exec sidekiq -c $SIDEKIQ_CONCURRENCY -t 8 -q defaultlow_worker: DB_POOL=$SIDEKIQ_DB_POOL bundle exec sidekiq -c $SIDEKIQ_CONCURRENCY -t 8 -q low

When I startup a queue manually on heroku, ie heroku run DB_POOL=10 bundle exec sidekiq -c 10 -t 8 -q low -a {my_app_name}, the queue processes those jobs.

What am I missing in my configuration?


Viewing all articles
Browse latest Browse all 873

Trending Articles