Skip to content
Snippets Groups Projects
Unverified Commit 7e168a7a authored by Ahmad Farhat's avatar Ahmad Farhat Committed by GitHub
Browse files

Added Redis connection (#4398)

parent fb91db01
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@ gem 'cssbundling-rails'
gem 'data_migrate'
gem 'dotenv-rails'
gem 'hcaptcha'
gem 'hiredis', '~> 0.6.0'
gem 'i18n-language-mapping'
gem 'image_processing', '~> 1.2'
gem 'jbuilder'
......
......@@ -156,6 +156,7 @@ GEM
hashie (5.0.0)
hcaptcha (7.1.0)
json
hiredis (0.6.3)
httpclient (2.8.3)
i18n (1.10.0)
concurrent-ruby (~> 1.0)
......@@ -402,6 +403,7 @@ DEPENDENCIES
factory_bot_rails
faker
hcaptcha
hiredis (~> 0.6.0)
i18n-language-mapping
image_processing (~> 1.2)
jbuilder
......
......@@ -90,7 +90,7 @@ Rails.application.configure do
config.log_tags = [:request_id]
# Use a different cache store in production.
# config.cache_store = :mem_cache_store
config.cache_store = :redis_cache_store, { url: ENV.fetch('REDIS_URL', nil) }
# Use a real queuing backend for Active Job (and separate queues per environment).
config.active_job.queue_adapter = :async # TODO: Configure :resque
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment