mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-21 02:07:49 +01:00
added Sidekiq initializer
This commit is contained in:
parent
21282961b3
commit
c5f2e8e449
2 changed files with 9 additions and 0 deletions
7
config/initializers/15_sidekiq.rb
Normal file
7
config/initializers/15_sidekiq.rb
Normal 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
|
|
@ -17,3 +17,5 @@ sharing:
|
||||||
facebook:
|
facebook:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
# Redis
|
||||||
|
redis_url: "redis://localhost:6379"
|
Loading…
Reference in a new issue