diff options
author | mayaeh <mayaeh@marimo-net.org> | 2020-06-17 17:31:31 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-17 10:31:31 +0200 |
commit | f56129a9479c5a7fa7730a11b0e812bb98ec2ab0 (patch) | |
tree | a1d8e62ba4e6ff2a1b4e7cf34d187f476d3d12da /config | |
parent | f5e6cbacf3684c49a7717031ed747907c7d6d730 (diff) |
Suppress Redis#exists(key) warning (#14067)
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/redis.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/initializers/redis.rb b/config/initializers/redis.rb index 7573fc9f7..510194044 100644 --- a/config/initializers/redis.rb +++ b/config/initializers/redis.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +Redis.exists_returns_integer = false + redis_connection = Redis.new( url: ENV['REDIS_URL'], driver: :hiredis |