DEV: Disable Redis warnings.

DEV: Disable Redis warnings.

diff --git a/config/initializers/001-redis.rb b/config/initializers/001-redis.rb
index d11303a..3957d62 100644
--- a/config/initializers/001-redis.rb
+++ b/config/initializers/001-redis.rb
@@ -4,3 +4,7 @@ if Rails.env.development? && ENV['DISCOURSE_FLUSH_REDIS']
   puts "Flushing redis (development mode)"
   Discourse.redis.flushdb
 end
+
+# Pending https://github.com/MiniProfiler/rack-mini-profiler/pull/450 and
+# upgrade to Sidekiq 6.1
+Redis.exists_returns_integer = true

GitHub sha: def4cd33