Commit 1ed29ddd authored by admin's avatar admin

Update redis.rb

parent ddfafa7d
# frozen_string_literal: true
require 'connection_pool'
redis_connection = Redis.new(
redis_connection = ConnectionPool::Wrapper.new(size: ENV['REDIS_POOL_SIZE'], timeout: 10) { Redis.new(
url: ENV['REDIS_URL'],
driver: :hiredis
)
)}
namespace = ENV.fetch('REDIS_NAMESPACE') { nil }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment