From ac8f76b52136df894a24743620cf5caf91220098 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 28 Sep 2005 08:55:04 +0000 Subject: Dont log it twice git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2392 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/lib/fcgi_handler.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'railties/lib') 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" -- cgit v1.2.3