diff options
author | francis <francis> | 2008-03-10 12:57:09 +0000 |
---|---|---|
committer | francis <francis> | 2008-03-10 12:57:09 +0000 |
commit | 8f184199ae1fc2ef729433ae160a532f9b9c5dcb (patch) | |
tree | fd9926d03638d3042b8997749e420c8fd246091a | |
parent | 80fa3e96cf95fa0bd409ae853f97648d8e3b4afe (diff) |
TERM should handle current request before exiting, just as USR1 does.
See http://fastcgi.com/docs/faq.html#Signals
-rw-r--r-- | vendor/rails-2.0.2/railties/lib/fcgi_handler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/rails-2.0.2/railties/lib/fcgi_handler.rb b/vendor/rails-2.0.2/railties/lib/fcgi_handler.rb index a644161e7..b76f9a163 100644 --- a/vendor/rails-2.0.2/railties/lib/fcgi_handler.rb +++ b/vendor/rails-2.0.2/railties/lib/fcgi_handler.rb @@ -7,7 +7,7 @@ class RailsFCGIHandler SIGNALS = { 'HUP' => :reload, 'INT' => :exit_now, - 'TERM' => :exit_now, + 'TERM' => :exit, # XXX was exit_now, changed by mySociety 2008-03-10 'USR1' => :exit, 'USR2' => :restart } |