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

This commit is contained in:
mayaeh 2020-06-17 17:31:31 +09:00 committed by GitHub
parent f5e6cbacf3
commit f56129a947
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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