Вопрос

I want to be able to use and connect to the same redis instance as the one that is defined for sidekiq.

In resque, it is retrieved byResque.redis

Это было полезно?

Решение

Sidekiq takes a block, and the equivalent method is:

Sidekiq.redis { |x| x.redis }

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top