Browse Source

Suppress Redis#exists(key) warning (#14067)

master
mayaeh 3 years ago
committed by GitHub
parent
commit
f56129a947
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      config/initializers/redis.rb

+ 2
- 0
config/initializers/redis.rb View File

@ -1,5 +1,7 @@
# frozen_string_literal: true
Redis.exists_returns_integer = false
redis_connection = Redis.new(
url: ENV['REDIS_URL'],
driver: :hiredis

Loading…
Cancel
Save