mirror of
https://github.com/discourse/discourse.git
synced 2025-05-14 00:32:59 +08:00

This reverts commit e62a85cf6fd81a2a34aff6144bd36b9ac459964a, reversing changes made to 2660c2e21d84bea667e1ea339f91cda352328062.
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
|