Created
September 27, 2012 12:47
-
-
Save mjdavies/3793825 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In a model I've got a method | |
def library_details | |
require 'httparty' | |
@request_url = "longurl" | |
response = HTTParty.get(@request_url, :timeout => 1) | |
return response | |
end | |
I don't get an error, but the timeout value does not seem to be taken into consideration. | |
The call can run and run and run and never timeout. | |
Any ideas? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment