Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望能够使用和连接到与为 sidekiq 定义的实例相同的 redis 实例。
在resque中,它由以下方式检索Resque.redis
Resque.redis
Sidekiq 取一个块,等价的方法是:
Sidekiq.redis { |x| x.redis }