Skip to content

Commit

Permalink
fix: redis config
Browse files Browse the repository at this point in the history
  • Loading branch information
bibendi committed Feb 29, 2024
1 parent 656a191 commit a4eec75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion quest/config/configs/redis_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class RedisConfig < ApplicationConfig
required :url, :db, :db_sidekiq, :db_outbox, :db_cache

def connection_uri(db_name = :db)
uri = URI(dsn)
uri = URI(url)
uri.path = "/#{public_send(db_name)}"
uri.to_s
end
Expand Down
2 changes: 1 addition & 1 deletion voyage/config/configs/redis_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class RedisConfig < ApplicationConfig
required :url, :db, :db_sidekiq, :db_outbox, :db_cache

def connection_uri(db_name = :db)
uri = URI(dsn)
uri = URI(url)
uri.path = "/#{public_send(db_name)}"
uri.to_s
end
Expand Down

0 comments on commit a4eec75

Please sign in to comment.