mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
DEV: Disable Redis warnings.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user