Merge pull request #3436 from L2G/master
Clarify warning shown when single_process_mode used in production
This commit is contained in:
commit
0ca2bfa84d
1 changed files with 3 additions and 1 deletions
|
|
@ -16,7 +16,9 @@ end
|
|||
# Single process-mode hooks using Resque.inline
|
||||
if AppConfig.single_process_mode?
|
||||
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
|
||||
Resque.inline = true
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue