about summary refs log tree commit diff
path: root/config/initializers/redis.rb
blob: 4fe33811f200c877fe0b7c2036311a7975962653 (plain) (blame)
1
2
3
4
5
$redis = Redis.new({
  host: ENV.fetch('REDIS_HOST') { 'localhost' },
  port: ENV.fetch('REDIS_PORT') { 6379 },
  driver: :hiredis
})