You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
170 B

  1. # frozen_string_literal: true
  2. Redis.current = Redis.new(
  3. host: ENV.fetch('REDIS_HOST') { 'localhost' },
  4. port: ENV.fetch('REDIS_PORT') { 6379 },
  5. driver: :hiredis
  6. )