Skip to content

Commit ae4119a

Browse files
committed
use redis url from baseline
1 parent da8722b commit ae4119a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
GIT
22
remote: https://github.com/manuelmeurer/baseline.git
3-
revision: 13cab1e952c15499fed5298d9590c5970e47b42b
3+
revision: e0dd5652f3e1acf0d7bd145963bca60b19dd2fb3
44
specs:
55
baseline (1.0)
66

config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
# Use a different cache store in production.
6161
config.cache_store = :redis_cache_store, {
6262
driver: :hiredis,
63-
url: ENV.fetch("REDIS_URL"),
63+
url: Baseline::RedisURL.fetch,
6464
namespace: "cache",
6565
expires_in: 1.month,
6666
reconnect_attempts: 1,

config/initializers/sidekiq.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
redis_options = {
4-
url: ENV.fetch("REDIS_URL"),
4+
url: Baseline::RedisURL.fetch,
55
namespace: "sidekiq"
66
}
77

config/redis/shared.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
default: &default
2-
url: <%= ENV.fetch("REDIS_URL") %>
2+
url: <%= Baseline::RedisURL.fetch %>
33
timeout: 1
44

55
development:

0 commit comments

Comments
 (0)