mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
REVERT: message bus changes
This commit is contained in:
@ -1,15 +0,0 @@
|
||||
if Rails.env.development? && ENV['DISCOURSE_FLUSH_REDIS']
|
||||
puts "Flushing redis (development mode)"
|
||||
$redis.flushall
|
||||
end
|
||||
|
||||
if defined?(PhusionPassenger)
|
||||
PhusionPassenger.on_event(:starting_worker_process) do |forked|
|
||||
if forked
|
||||
Discourse.after_fork
|
||||
else
|
||||
# We're in conservative spawning mode. We don't need to do anything.
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user