mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
13 lines
253 B
Ruby
13 lines
253 B
Ruby
require 'sidekiq/version'
|
|
require 'sidekiq/client'
|
|
require 'sidekiq/worker'
|
|
require 'sidekiq/rails' if defined?(::Rails)
|
|
|
|
module Sidekiq
|
|
def self.redis
|
|
@redis ||= Sidekiq::RedisConnection.create
|
|
end
|
|
def self.redis=(r)
|
|
@redis = r
|
|
end
|
|
end
|