blob: 3660c4a9bdfb125cd44ebc9d78d304512d84d6de (
plain) (
blame)
1
2
3
4
5
6
7
8
|
# frozen_string_literal: true
Redis.current = Redis.new(
host: ENV.fetch('REDIS_HOST') { 'localhost' },
port: ENV.fetch('REDIS_PORT') { 6379 },
password: ENV.fetch('REDIS_PASSWORD') { false },
driver: :hiredis
)
|