mirror of
https://github.com/discourse/discourse.git
synced 2025-01-23 04:21:01 +08:00
5cb00d5528
With manual merge conflicts
7 lines
163 B
Ruby
7 lines
163 B
Ruby
# frozen_string_literal: true
|
|
|
|
if Rails.env.development? && ENV['DISCOURSE_FLUSH_REDIS']
|
|
puts "Flushing redis (development mode)"
|
|
Discourse.redis.flushall
|
|
end
|