From 37b6045c04090fb7a0048730b2929b99c1a5f885 Mon Sep 17 00:00:00 2001 From: "Lawrence Leonard \"Larry\" Gilbert" Date: Wed, 4 Jul 2012 18:02:40 -0700 Subject: [PATCH] Clarify warning shown when single_process_mode used in production --- config/initializers/resque.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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