skip to Main Content

I am using redis version 6.0 and gem 'sidekiq', '>= 6.4.1'
gem 'sidekiq-cron', '~> 1.2' for job scheduling in rails. I am using corn job to process email daily. [pipeline commands on a redis is deprecated. My ruby version is 2.7, rails version is 6.1 and using ubuntu 20.07.

2

Answers


  1. The issue was fixed by the Sidekiq team in their latest version v6.4.1 .
    If still there are warnings then it is due to the sidekiq-cron gem. It has been discussed and and fixed in a forked branch here – ondrejbartas/sidekiq-cron#310 (comment)
    We would need to do the following while adding sidekiq cron in the gemfile:

    "sidekiq-cron", git: "https://github.com/citusdata/sidekiq-cron", branch: "hotfix/pipelining_depreciation"
    

    This worked for me. Hope it would help you.

    Login or Signup to reply.
  2. I was still getting this error after updating sidekiq to v6.4.1. The error seemed to be coming from a dependent gem of resque, redis-namespace. So I updated the resque gem and that fixed the issue for me.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search