aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--railties/lib/fcgi_handler.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/railties/lib/fcgi_handler.rb b/railties/lib/fcgi_handler.rb
index ecffec9aa6..3124a1e5e6 100644
--- a/railties/lib/fcgi_handler.rb
+++ b/railties/lib/fcgi_handler.rb
@@ -73,10 +73,7 @@ class RailsFCGIHandler
end
end
- if when_ready == :restart
- dispatcher_log :info, "restarted gracefully"
- restart!
- end
+ restart! if when_ready == :restart
GC.enable
dispatcher_log :info, "terminated gracefully"