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. [. My ruby version is 2.7, rails version is 6.1 and using ubuntu 20.07.
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. [. My ruby version is 2.7, rails version is 6.1 and using ubuntu 20.07.
2
Answers
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:
This worked for me. Hope it would help you.
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.