diff options
author | Lawrence Leonard "Larry" Gilbert <larry@l2g.to> | 2012-07-05 05:02:40 +0400 |
---|---|---|
committer | Lawrence Leonard "Larry" Gilbert <larry@l2g.to> | 2012-07-05 05:02:40 +0400 |
commit | 37b6045c04090fb7a0048730b2929b99c1a5f885 (patch) | |
tree | 3bbaecd3695c1ad27fe4b06199a1ec4db5c7e433 /config/initializers | |
parent | a0e69b43743d6af97028ab7e2ef8171187819c96 (diff) |
Clarify warning shown when single_process_mode used in production
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/resque.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/initializers/resque.rb b/config/initializers/resque.rb index 187298477..3fe2995ca 100644 --- a/config/initializers/resque.rb +++ b/config/initializers/resque.rb @@ -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 |