about summary refs log tree commit diff
path: root/config/initializers
diff options
context:
space:
mode:
authormayaeh <mayaeh@marimo-net.org>2020-06-17 17:31:31 +0900
committerGitHub <noreply@github.com>2020-06-17 10:31:31 +0200
commitf56129a9479c5a7fa7730a11b0e812bb98ec2ab0 (patch)
treea1d8e62ba4e6ff2a1b4e7cf34d187f476d3d12da /config/initializers
parentf5e6cbacf3684c49a7717031ed747907c7d6d730 (diff)
Suppress Redis#exists(key) warning (#14067)
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/redis.rb2
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