Suppress Redis#exists(key) warning (#14067)
This commit is contained in:
parent
4aca523d14
commit
db856552ce
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Redis.exists_returns_integer = false
|
||||
|
||||
redis_connection = Redis.new(
|
||||
url: ENV['REDIS_URL'],
|
||||
driver: :hiredis
|
||||
|
|
Loading…
Reference in a new issue