Merge pull request #3436 from L2G/master

Clarify warning shown when single_process_mode used in production
This commit is contained in:
Maxwell Salzberg 2012-07-06 12:29:18 -07:00
commit 0ca2bfa84d

View file

@ -16,7 +16,9 @@ end
# Single process-mode hooks using Resque.inline # Single process-mode hooks using Resque.inline
if AppConfig.single_process_mode? if AppConfig.single_process_mode?
if Rails.env == 'production' if Rails.env == 'production'
puts "WARNING: You are running Diaspora in production without Resque workers turned on. Please don't do this." puts "WARNING: You are running Diaspora in production without Resque"
puts " workers turned on. Please set single_process_mode to false in"
puts " config/application.yml."
end end
Resque.inline = true Resque.inline = true
end end