Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [105910429d5873dce677ef32eef5f705e0625d86] by Cheah Chu Yeow

Revision 105910429d5873dce677ef32eef5f705e0625d86, committed by Repository · April 21st, 2008 @ 10:30 PM

Introduce ActiveResource::Base.timeout. This allows a timeout to be set on the internal Net::HTTP instance ARes uses (default is 60 seconds). Setting a low timeout allows ARes clients to fail-fast in the event of a unresponsive/crashed server, rather than cause cascading failures in your application.

Signed-off-by: Michael Koziarski

http://github.com/rails/rails/co...

4 changed files

  • M activeresource/lib/active_resource/base.rb
  • M activeresource/lib/active_resource/connection.rb
  • M activeresource/test/base_test.rb
  • M activeresource/test/connection_test.rb