diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-28 08:55:04 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-28 08:55:04 +0000 |
commit | ac8f76b52136df894a24743620cf5caf91220098 (patch) | |
tree | 48abe80721b4246ebd596b073120d6feec342320 /railties | |
parent | d87618d20d4d32a8e6e838e80a387357c79f7060 (diff) | |
download | rails-ac8f76b52136df894a24743620cf5caf91220098.tar.gz rails-ac8f76b52136df894a24743620cf5caf91220098.tar.bz2 rails-ac8f76b52136df894a24743620cf5caf91220098.zip |
Dont log it twice
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2392 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/fcgi_handler.rb | 5 |
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" |