-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor to use REDIS_URL instead of REDIS_CACHE_STORE
* pin sidekiq to version * to retain compatibility with redis 3.x (latest sidekiq requires redis 4.0+)
- Loading branch information
1 parent
b1dd2ff
commit 4368e37
Showing
8 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Sidekiq.configure_server do |config| | ||
config.redis = { url: ENV["REDIS_CACHE_STORE"], namespace: "touchpoints_sidekiq_#{Rails.env}" } | ||
config.redis = { url: ENV["REDIS_URL"], namespace: "touchpoints_sidekiq_#{Rails.env}" } | ||
end | ||
|
||
Sidekiq.configure_client do |config| | ||
config.redis = { url: ENV["REDIS_CACHE_STORE"], namespace: "touchpoints_sidekiq_#{Rails.env}" } | ||
end | ||
config.redis = { url: ENV["REDIS_URL"], namespace: "touchpoints_sidekiq_#{Rails.env}" } | ||
end |