added Sidekiq initializer

This commit is contained in:
nilsding 2014-12-12 17:35:16 +01:00
parent 21282961b3
commit c5f2e8e449
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,7 @@
Sidekiq.configure_server do |config|
config.redis = { url: APP_CONFIG['redis_url'] }
end
Sidekiq.configure_client do |config|
config.redis = { url: APP_CONFIG['redis_url'] }
end

View File

@ -17,3 +17,5 @@ sharing:
facebook:
enabled: false
# Redis
redis_url: "redis://localhost:6379"