Skip to content

Commit

Permalink
edit sidekiq config
Browse files Browse the repository at this point in the history
  • Loading branch information
BlazingRockStorm committed Nov 15, 2023
1 parent 8bde969 commit a275b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/sidekiq.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
redis_config= { url: 'redis://redis:6379/0' }
redis_config= { url: "redis://#{ENV.fetch('REDIS_URL', 'redis:6379')}" }

Sidekiq.configure_server do |config|
config.redis = redis_config
Expand Down

0 comments on commit a275b2f

Please sign in to comment.