This project is archived and is in readonly mode.

Changeset [105910429d5873dce677ef32eef5f705e0625d86] by Cheah Chu Yeow

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...

Committed by Repository

  • 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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>