1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Missing parameter for trap_handler in dispatch.fcgi

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1481 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jamis Buck 2005-06-22 11:26:00 +00:00
parent 64e61348e5
commit ce44079818
2 changed files with 2 additions and 2 deletions

View file

@ -71,7 +71,7 @@ class RailsFCGIHandler
dispatcher_log(:error, error_message)
end
def trap_handler
def trap_handler(signal)
if i_am_currently_processing_a_request
dispatcher_log(:info, "asking #{$$} to terminate ASAP")
@please_exit_at_your_earliest_convenience = true

View file

@ -23,7 +23,7 @@ class RailsFCGIHandler
end
def send_signal(which)
@signal_handlers[which].call
@signal_handlers[which].call(which)
end
end