From 9562d2f30d23852978cf72e3abc9611dbc92870d Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Fri, 19 Jun 2015 19:42:10 +0300 Subject: [PATCH] Turn automatic que temp off #2724 --- config.ru | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/config.ru b/config.ru index 4112838a0..4fa72a37f 100644 --- a/config.ru +++ b/config.ru @@ -3,10 +3,11 @@ require ::File.expand_path('../config/environment', __FILE__) run Rails.application -if defined?(PhusionPassenger) - PhusionPassenger.on_event(:starting_worker_process) do |forked| - if forked - Que.mode = :async - end - end -end +# turn automatic que temp off +# if defined?(PhusionPassenger) + # PhusionPassenger.on_event(:starting_worker_process) do |forked| + # if forked + # Que.mode = :async + # end + # end +# end