mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 13:17:18 +00:00
Suppress Redis#exists(key) warning (#14067)
This commit is contained in:
parent
f5e6cbacf3
commit
f56129a947
|
@ -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