mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Disable Redis warnings.
This commit is contained in:
parent
c611f3703c
commit
def4cd33ea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user