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:
parent
64e61348e5
commit
ce44079818
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -23,7 +23,7 @@ class RailsFCGIHandler
|
|||
end
|
||||
|
||||
def send_signal(which)
|
||||
@signal_handlers[which].call
|
||||
@signal_handlers[which].call(which)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue