Skip to content
Browse files

Missing parameter for trap_handler in dispatch.fcgi

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1481 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 64e6134 commit ce44079818c9307ed20a2f11b2bf7933803f78f7 @jamis jamis committed Jun 22, 2005
Showing with 2 additions and 2 deletions.
  1. +1 −1 railties/dispatches/dispatch.fcgi
  2. +1 −1 railties/test/fcgi_dispatcher_test.rb
View
2 railties/dispatches/dispatch.fcgi
@@ -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
2 railties/test/fcgi_dispatcher_test.rb
@@ -23,7 +23,7 @@ def exit(code=0)
end
def send_signal(which)
- @signal_handlers[which].call
+ @signal_handlers[which].call(which)
end
end

0 comments on commit ce44079

Please sign in to comment.
Something went wrong with that request. Please try again.