Skip to content

Commit

Permalink
Use REDIS_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
etagwerker committed Aug 23, 2024
1 parent 788ead7 commit 4bdf248
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

# Use a different cache store in production.
config.cache_store = :redis_cache_store, {
url: Baseline::RedisURL.fetch,
url: ENV["REDIS_URL"],
namespace: "cache",
expires_in: 1.month,
reconnect_attempts: 1,
Expand Down
2 changes: 1 addition & 1 deletion config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
sidekiq = Sidekiq.configure_embed do |config|
config.concurrency = 1
config.redis = {
url: Baseline::RedisURL.fetch
url: ENV["REDIS_URL"]
}
config.merge! \
scheduler: {
Expand Down
2 changes: 1 addition & 1 deletion config/redis/shared.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
default: &default
url: <%= Baseline::RedisURL.fetch %>
url: <%= ENV["REDIS_URL"] %>
timeout: 1

development:
Expand Down

0 comments on commit 4bdf248

Please sign in to comment.