9 lines
No EOL
300 B
Ruby
9 lines
No EOL
300 B
Ruby
redis_url = Rails.env.development? ? 'redis://localhost:6379/0' : ENV['REDISTOGO_URL']
|
|
|
|
Sidekiq.configure_server do |config|
|
|
config.redis = { :url => redis_url, :namespace => 'metamaps' }
|
|
end
|
|
|
|
Sidekiq.configure_client do |config|
|
|
config.redis = { :url => redis_url, :namespace => 'metamaps' }
|
|
end |