Suppress Redis#exists(key) warning (#14067)
parent
f5e6cbacf3
commit
f56129a947
|
@ -1,5 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
Redis.exists_returns_integer = false
|
||||||
|
|
||||||
redis_connection = Redis.new(
|
redis_connection = Redis.new(
|
||||||
url: ENV['REDIS_URL'],
|
url: ENV['REDIS_URL'],
|
||||||
driver: :hiredis
|
driver: :hiredis
|
||||||
|
|
Reference in New Issue